ZF-2931: Zend_View_Helper_FormCheckbox comment and docs are wrong about a 4th parameter

Issue Type: Docs: Task Created: 2008-03-19T14:46:29.000+0000 Last Updated: 2012-03-21T11:32:55.000+0000 Status: Resolved Fix version(s): - 1.5.1 (25/Mar/08)

Reporter: Harro van der Klauw (oximoron) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_View

Related issues: Attachments:


<pre class="highlight">
     * Generates a 'checkbox' element.
     * @access public
     * @param string|array $name If a string, the element name.  If an
     * array, all other parameters are ignored, and the array elements
     * are extracted in place of added parameters.
     * @param mixed $value The element value.
     * @param array $attribs Attributes for the element tag.
     * @param mixed $options 
     * @return string The element XHTML.
    public function formCheckbox($name, $value = null, $attribs = null)

The options parameter was removed in revision 7972, but it's still in the comment and in the docs…


Posted by old of Satoru Yoshida ( on 2008-03-21T08:49:45.000+0000

Thank you for report. It is resolved in SVN r8951

Posted by Wil Sinclair (wil) on 2008-03-21T17:09:03.000+0000

I'm assuming this fix is merged to the 1.5 release branch for release with 1.5.1. Please update JIRA if this is not the case.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.