Issues

ZF-2852: Element->clearValidators could return $this for conistency

Issue Type: Patch Created: 2008-03-10T18:56:59.000+0000 Last Updated: 2008-03-21T17:34:14.000+0000 Status: Resolved Fix version(s): - 1.5.1 (25/Mar/08)

Reporter: Alexander Lanin (alexl) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments:

Description

<pre class="highlight">Index: Form/Element.php
===================================================================
--- Form/Element.php    (revision 8741)
+++ Form/Element.php    (working copy)
@@ -1125,6 +1125,7 @@
     public function clearValidators()
     {
         $this->_validators = array();
+        return $this;
     }

Comments

Posted by Alexander Lanin (alexl) on 2008-03-14T07:17:29.000+0000

not sure who assigned this to Wil, but I just removed the assignment because as far as I can see in the Change History it must have been me... no Idea how & why :D

Posted by Matthew Weier O'Phinney (matthew) on 2008-03-14T08:00:13.000+0000

Scheduling for 1.5.1.

Posted by Matthew Weier O'Phinney (matthew) on 2008-03-21T16:16:45.000+0000

Added in trunk and 1.5 release branch

Posted by Wil Sinclair (wil) on 2008-03-21T17:34:14.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.

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