RE: [PEAR-DEV] yet another template

From: Date: Tue, 06 Nov 2001 14:36:21 +0000
Subject: RE: [PEAR-DEV] yet another template
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2580@lists.php.net to get a copy of this message
>Is there a way to extract variables names of a given template? There is no such method that returns names of variable in given template file. This class tries to replace only variables set by setValue() method. Unless showUnset() method(exist for debugging) is called, unset variables(variable not set by setValue()) and blocks are suppressed from the contents to be returned by format() method. For debugging template file, you can call showUnset() method not to suppress unset variable and blocks from the contents. If this won't resolve your problem, I can add a method that returns variable names in given template file. Your questions and suggetions are always welcome, so feel free to talk to me. Naoki Shima

« previous php.pear.dev (#2580) next »