HTML/IT.php
| From: | Olivier Vanhoucke | Date: | Thu, 01 Aug 2002 09:04:11 +0000 |
| Subject: | HTML/IT.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8110@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to use Pear Template Engine, it looks good but i don't see
anything to replace a block (in file a.tpl for example) by another template
file (b.tpl) .
should i do something like that :
{DATA} -> $tpl->setVariable('DATA', implode('',
@file('templates/b.tpl')));
thanks
Olivier