Pear package: html_template_flexy: How set {tag} value without having to define same variable names in controll class
| From: | Riku Tuominen | Date: | Tue, 30 Jan 2007 19:03:59 +0000 |
| Subject: | Pear package: html_template_flexy: How set {tag} value without having to define same variable names in controll class | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26439@lists.php.net to get a copy of this message | ||
Pear package: html_template_flexy
Any one a have a idea how manually to set values to template variables?
I mean for example if we dont know at programming time what variables the template is going to include. Then we cant created apropriate variable names in our class.
I would need to do something similar to.
$myValue = $myData->productName;
$output->setTemplateVariableValue('{Title}', $myValue);
Best Regards
Riku Tuominen