Re: [SMARTY] Dynamic Template Inclusion from PHP Class
| From: | Ken Snyder | Date: | Wed, 06 Dec 2006 20:27:17 +0000 |
| Subject: | Re: [SMARTY] Dynamic Template Inclusion from PHP Class | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13625@lists.php.net to get a copy of this message | ||
Donald Organ wrote:
Yes that is from the template side, I want to do it from the PHP side. Through the smarty object. $var = $smarty->fetch('my_template');see: http://smarty.php.net/manual/en/api.fetch.php --Ken