Handling unparsed placeholders

From: Date: Tue, 15 Feb 2000 16:34:16 +0000
Subject: Handling unparsed placeholders
Groups: php.template 
Request: Send a blank email to php-template+get-12@lists.php.net to get a copy of this message
Hey! One thing I missed in your draft is the handling of placeholders, which aren't assigned a value to. The PHPLib Template class allows you to specify a $unknowns variable in the class' constructor, which defines how to handle placeholders which aren't used in your script. This is a nice feature for debugging and error handling. Also, I don't understand the configuration variables part of your draft. Are these configuration directive specific to the template module, or do you mean PHP configuration? And a tpl_print() would be a nice shorthand. -Tobias

« previous php.template (#12) next »