Re: My template idea...

From: Date: Tue, 15 Feb 2000 21:54:55 +0000
Subject: Re: My template idea...
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.template 
Request: Send a blank email to php-template+get-50@lists.php.net to get a copy of this message
> Right, that's what I was trying to figure out - who should be > responsible for loading config files like that - developer or designer. > Does designer lose anything if the developer does it? My preference would be to have the developer handle this. 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. -Tobias

« previous php.template (#50) next »