Req #19307 [Opn->Csd]: cannot chain setValue
| From: | borz_off at cs dot msu dot su | Date: | Mon, 27 Feb 2012 07:47:58 +0000 |
| Subject: | Req #19307 [Opn->Csd]: cannot chain setValue | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8328@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19307&edit=1
ID: 19307
Updated by: borz_off@cs.msu.su
Reported By: sergiokessler at gmail dot com
Summary: cannot chain setValue
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: HTML_QuickForm2
Package Version: 0.6.1
PHP Version: 5.3.9
-Assigned To:
+Assigned To: avb
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: avb
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2012-02-27 02:44:11] sak
Description:
------------
it would be cool if I can chain the setValue, something like
$form->addElement('date', 'new_row_fecha', $date_options)
->setLabel('Fecha:')
->setValue($date_defaults)
->addRule('required', 'Valor requerido')
;
right now, that code throws error...
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19307&edit=1