Re: [SMARTY] getting captured contents

From: Date: Wed, 12 Jun 2002 06:52:42 +0000
Subject: Re: [SMARTY] getting captured contents
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4800@lists.php.net to get a copy of this message
P> Is there any way to get by name the data captured by the capture P> command in a template ? getting from the php code (I have templates P> for the mails I send, I want to process that templates, get the P> output and feed it to the mail object, if that's not posible (with P> capture), how should I do it?). Err, i'm not sure i get correctly what you want, but i think that the fetch function is what you need... $email_body = $tpl->fetch('email_template.tpl'); Bertrand

« previous php.smarty.general (#4800) next »