Zend Framework

Zend_Form_Element::setName call to $this->filtername(...) should be $this->filterName(...)

Details

  • Type: Coding Standards Violation Coding Standards Violation
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.5.0
  • Fix Version/s: 1.5.2
  • Component/s: Zend_Form
  • Labels:
    None
  • Fix Version Priority:
    Nice to Have

Description

Zend_Form_Element::setName (1.5.0)
public function setName($name)
    {
        $name = $this->filtername($name);
        if (('0' !== $name) && empty($name)) {
            require_once 'Zend/Form/Exception.php';
            throw new Zend_Form_Exception('Invalid name provided; must contain only valid variable characters and be non-empty');
        }

        $this->_name = $name;
        return $this;
    }

The reference to "filtername" should be "filterName".

Issue Links

Activity

Hide
Wil Sinclair added a comment -

Please evaluate and categorize as necessary.

Show
Wil Sinclair added a comment - Please evaluate and categorize as necessary.
Hide
Matthew Weier O'Phinney added a comment -

Scheduling for next mini release.

Show
Matthew Weier O'Phinney added a comment - Scheduling for next mini release.
Hide
Matthew Weier O'Phinney added a comment -

Updated in trunk and 1.5 release branch as of r9378.

Show
Matthew Weier O'Phinney added a comment - Updated in trunk and 1.5 release branch as of r9378.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: