Re: Quickform group rules
| From: | Alexey Borzov | Date: | Sun, 08 Nov 2009 11:40:11 +0000 |
| Subject: | Re: Quickform group rules | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30129@lists.php.net to get a copy of this message | ||
Hi Alain,
Alain Williams wrote:
There is an Array renderer that can be used with Smarty, but there isn't yet (?) a port of ArraySmarty one. BTW, if someone wants to port that to QuickForm2, he is most welcome to do so, it can be added to PEAR as a separate subpackage. Neither Bertrand nor myself are using Smarty, so obviously ArraySmarty is at the bottom of our priority list.Consider using HTML_QuickForm2 instead, especially if you want to get rid of E_STRICT error messages. It *will* detect such things and won't add oneI am using smarty - I can't see the smarty renderer. It might be simpler to port that to PHP5 & QF2.
Also I am running on CentOS - which has php-5.1.6, quickform2 needs php > 5.2. I would have liked to use HTML_QuickForm2.Note that QuickForm2 requires PHP 5.2 due to a major problem in PHP 5.1.x: http://pear.php.net/bugs/bug.php?id=14110 http://bugs.php.net/bug.php?id=37632 Also note that 5.1.6 is 3+ years old: http://www.php.net/ChangeLog-5.php#5.1.6 It may be possible to run QuickForm2 under 5.1.6, but that'll require declaring most of the methods in subclasses of HTML_QuickForm2_Node as public. In short, it would be a good idea to update your PHP installation (I'm not familiar with CentOS, but usually there is some kind of backports repository for Linux distributions, or you can build a custom binary package from a source one).