feature requests..

From: Date: Thu, 04 Apr 2002 21:28:37 +0000
Subject: feature requests..
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3496@lists.php.net to get a copy of this message
Hi guys, First I just wanted to say that I'm really impressed with Smarty. Coming from an enterprise Java background I was frustrated with the lack of templating APIs that existed for PHP. While there are plenty of out of the box 'tools' that existed, few were intended to be frameworks that people could extend; Smarty is an excellent example of an extensible PHP application with it's pluggable functions, modifiers, etc. I'd love to see a few small features added: - ability to call object methods, no-args methods would be fine eg: {$obj->render()}. - smarty method to access config variables, (or is this visible through get_template_vars() ? - option to allow config file variables to be loaded in as smarty variables; I'm not sure if this is a bug or if I'm misusing smarty somehow, but my app loses track of config variables (even when loaded as global) after a certiain point: my app calls $smarty->display() inside of a $smarty->display() function, which is when config variables appear to be lost. Smarty variables, however, remain available. Thanks! -mark

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