Managing the use of Smarty

From: Date: Tue, 04 Feb 2003 19:00:46 +0000
Subject: Managing the use of Smarty
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-663@lists.php.net to get a copy of this message
I was wondering if it would be possible to include into Smarty 'fuctionality management' configuration settings like PHP has? For example, in PHP, the site owner, or person with the most access to specific config files, can put directives in them disallowing certain functions. Some of this is covered with SAFE_MODE, which can be modified, but also, additional fuctions can be disabled. I would like use Smarty in a more JSP/ASP/ClearSilver approach, and force that upon the designers. I only want: Static Images Static Text Object functions rendering text, Object functions rendering images To be called from templates. I may be off on this, but input on this idea is welcome. It would be especially cool if it would be possible to limit object functions to ONE name, i.e. $obj->return(); (with or without parameters). Of course, when true private functions are available in PHP5.0, that will take care of that anyway.

« previous php.smarty.dev (#663) next »