Re: petition against registering

From: Date: Tue, 09 Oct 2001 15:03:42 +0000
Subject: Re: petition against registering
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1640@lists.php.net to get a copy of this message
Hi, Anders Janson wrote:
Why not keep the registering procedure, and introduce a relaxed mode (default off) that makes registering optional?
Yes, I favor this. Make it a $smarty->require_registration variable.
Or let Smarty auto-register functions that are named according to "the rules" (that we don't have yet!)?
That's not easy to write. You would have to read all source files and determin what functions there are. As far as I know, it's possible to check whether a function exists if you know the functionname, but it isn't possible to get a list of all functions. (That list would be huge, given the number of standard php functions, so even if it were possible, it would be slow to do a lookup). Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#1640) next »