Zend Framework

Missing @param with Zend_Form_Element

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.9.7, 1.10.0
  • Fix Version/s: 1.10.1
  • Component/s: Zend_Form
  • Labels:
    None

Description

/**
     * Constructor
     *
     * $spec may be:
     * - string: name of element
     * - array: options with which to configure element
     * - Zend_Config: Zend_Config with options for configuring element
     *
     * @param  string|array|Zend_Config $spec
     * @return void
     * @throws Zend_Form_Exception if no element name after initialization
     */
      public function __construct($spec, $options = null){

You see the @param for options is not here.

Activity

Hide
Thom added a comment -

woops it was Zend_Form_Element, which was extended by Zend_Form_Element_Xhtml, which I was extending...

Show
Thom added a comment - woops it was Zend_Form_Element, which was extended by Zend_Form_Element_Xhtml, which I was extending...
Hide
Thom added a comment -

This is a simple patch for this issue.

Show
Thom added a comment - This is a simple patch for this issue.
Hide
Satoru Yoshida added a comment -

Thank You for report, solved in SVN r20811

Show
Satoru Yoshida added a comment - Thank You for report, solved in SVN r20811
Hide
Thom added a comment -

That oughta do it! Thanks, and this can be closed now.

Show
Thom added a comment - That oughta do it! Thanks, and this can be closed now.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: