Re: [SMARTY] Dynamic Template Inclusion from PHP Class
Donald Organ <[email protected]> Wed, 06 Dec 2006 14:38:15 -0500
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
Yes that is from the template side, I want to do it from the PHP side.
Through the smarty object.
Ken Snyder wrote:
> Donald Organ wrote:
>> Is there away to assign a template to a variable?
>>
> {include file="my_template" assign="assign_to_var"}
>
> see http://smarty.php.net/manual/en/language.function.include.php
>
> --Ken
>
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php