Re: [SMARTY] Dynamic Template Inclusion from PHP Class
Max Schwanekamp <[email protected]> Wed, 06 Dec 2006 13:22:21 -0800
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
Donald Organ wrote:
> Is there away to assign a template to a variable?
>
$myvar = $smarty->fetch('sometemplate.tpl');
http://smarty.php.net/manual/en/api.fetch.php
--
Max Schwanekamp
NeptuneWebworks.com
541-517-9064
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php