Issues

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

Issue Type: Coding Standards Violation Created: 2008-03-26T09:21:26.000+0000 Last Updated: 2008-05-05T10:52:14.000+0000 Status: Resolved Fix version(s): - 1.5.2 (15/May/08)

Reporter: Cole Snodgrass (cole.snodgrass) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: - ZF-2997

Attachments:

Description

<pre class="highlight">
    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".

Comments

Posted by Wil Sinclair (wil) on 2008-03-31T16:04:35.000+0000

Please evaluate and categorize as necessary.

Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T13:21:54.000+0000

Scheduling for next mini release.

Posted by Matthew Weier O'Phinney (matthew) on 2008-05-05T10:52:14.000+0000

Updated in trunk and 1.5 release branch as of r9378.

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts