Re: [PEPr] +1 for HTML::PHPTAL
| From: | Alexey Borzov | Date: | Tue, 28 Apr 2009 08:00:07 +0000 |
| Subject: | Re: [PEPr] +1 for HTML::PHPTAL | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51778@lists.php.net to get a copy of this message | ||
Hi,
Michael Gauthier wrote:
Is this actually required somewhere in the documentation or are you inventing this along the way? I'm asking 'cause a lot of QuickForm stuff does similar things on require and no one complained so far. Consider: http://cvs.php.net/viewvc.cgi/pear/HTML_QuickForm/QuickForm/file.php?revision=1.25&view=markupLots of files also have PHPTAL_Dom_Defs::getInstance()->registerNamespace(new PHPTAL_Namespace_METAL()); or something similar. Requiring files should not cause any action in PEAR besides defining classes.2.) immediately executable code is not allowed - PHPTALIn PHPTAL.php I've got only: PHPTAL::setIncludePath() which as discussed previously, is needed to ensure that one copy of PHPTAL does not accidentally include files from another copy.