Re: HTML_Template_IT::get()
| From: | Jackson Miller | Date: | Tue, 03 Feb 2004 14:40:33 +0000 |
| Subject: | Re: HTML_Template_IT::get() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10493@lists.php.net to get a copy of this message | ||
On Tuesday 03 February 2004 8:07 am, Martin Marques wrote:
> I'm trying to use this method of the clase HTML_Template_IT and it keeps
> giving me an empty string, even though a var_dump() on the class object
> shows the block OK with all the variables replaced and parsed.
You need a $js->parse() before the $js->get()
$js->parse();
var_dump($js->get("JS"));
HTH,
Jackson