RE: [PHP] Easy Template class?

From: Date: Mon, 13 Nov 2000 03:11:41 +0000
Subject: RE: [PHP] Easy Template class?
Groups: php.general 
Request: Send a blank email to php-general+get-24897@lists.php.net to get a copy of this message
I think i moaned a little bit too much in my last e-mail but didnt provide any suggestions for what i wanted... Here goes: I think that Instead of having a set_var with jsut the name of the template variable and the value, it should be something like: Set_Var("SomeVariable",$SomeValue,"MyTemplateA"); Set_Var("SomeDifferentVariable",$SomeOtherValue,"MyTemplateB"); And then something like: Embed_Template("Menu","MyTemplateA","MyTemplateB"); What this would do is: #1: {SomeVariable} in MyTemplateA would become $SomeValue #2: {SomeDifferentVariable} in MyTemplateB would become $SomeOtherValue #3: {Menu} in MyTemplateA would become MyTemplateB with everything that has been done to it (Such as the {SomeVariable}) Thanks again.... Roy Nasser CTO Vem Cá Servicos de Internet S/C Ltda. Av. Paulista 2421 14* Andar São Paulo SP Brasil 55 11 3347 3456 / 9953 8853 - cel www.jarbas.com.br roy@vem.ca

« previous php.general (#24897) next »