Re: [PHP Template] Re: My template idea...

[email protected] (Andrei Zmievski)
Newsgroups php.template
Message-ID <[email protected]>
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. *
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.