Re: [SMARTY] getting captured contents
| From: | Ben Godfrey | Date: | Wed, 12 Jun 2002 02:25:26 +0000 |
| Subject: | Re: [SMARTY] getting captured contents | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4797@lists.php.net to get a copy of this message | ||
The $smarty special variable tells all!
E.g.
{capture name=content}
{include file=stuff.tpl}
{/capture}
{$smarty.capture.content}
Ben
On Wednesday, June 12, 2002, at 03:12 , Pupeno wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is there any way to get by name the data captured by the capture command in a template ? getting from the php code (I have templates for the mails I send, I want to process that templates, get the output and feed it to the mail object, if that's not posible (with capture), how should I do it?). Thank you. - -- Pupeno: pupeno@pupeno.com http://www.pupeno.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Bq4JLr8z5XzmSDQRAlvmAKDKH/yj8ABMySOKaRUVA/DAFdp1GgCdH8S+ gAiGuEkkwX3YW1u9Ee9jsHg= =dmn/ -----END PGP SIGNATURE----- -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php