$compiler_id not member of SmartyCompiler
| From: | Ale | Date: | Tue, 13 Aug 2002 00:14:05 +0000 |
| Subject: | $compiler_id not member of SmartyCompiler | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5659@lists.php.net to get a copy of this message | ||
When writing a postfilter, I needed to access the $compile_id, which I
passed from the call to display(). But in the postfilter function,
$smarty->compiler_id is always null . When inspecting the source code, I see
that object inside the postfilter is not really from Smarty class, but of
SmartyCompiler class, and when the SmartyCompiler is instantiated, the
$compile_id member is not passed from the Smarty object.
I guess it should be passed. Any chance fot this to be fixed in the next
release?
thx
Ale.