Re: [PHP Template] Re: My template idea...
| From: | Andrei Zmievski | Date: | Tue, 15 Feb 2000 22:05:15 +0000 |
| Subject: | Re: [PHP Template] Re: My template idea... | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-53@lists.php.net to get a copy of this message | ||
On Tue, 15 Feb 2000, Tobias Ratschiller wrote:
> What could be an interesting feature, though:
> With the whole template concept, in real life you often end up assigning a
> lot of variables or array elements to the placeholder of the same name, for
> example:
> tpl_assign("variable", $variable);
> or tpl_assign() using the schema but with an array.
> This could be shortened to a a tpl_batch_assign(), taking only the
> placeholder name and automatically inserting the variable with the
> corresponding name for it.
Where does this variable come from? Can you expand on this or provide
short pseudo code?
-Andrei
* All of the above is my opinion, unless specified otherwise. *