Re: [SMARTY] Dynamic Template Inclusion from PHP Class
| From: | Donald Organ | Date: | Wed, 06 Dec 2006 19:38:15 +0000 |
| Subject: | Re: [SMARTY] Dynamic Template Inclusion from PHP Class | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13624@lists.php.net to get a copy of this message | ||
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