<TEXTAREA NAME="name"> -- creates PHP variable for textarea value
ïÐÉÓÁÎÉÅ
fills in the form with values based on the form name and the tag name. If flexyignore is
used, it is left alone (or if the body or form has a flexyignore tag it will be left alone).
ðÒÉÍÅÒ
Пример 42-1. Using an element to change a template. $form = new HTML_Template_Flexy();
$form->compile('some_file_name');
// create an instance (note you dont have to specify any details..)
$elements['test'] = new HTML_Template_Flexy_Element;
// change an attribute
$elements['test']->attributes['class'] = 'bold';
// sets the value
$elements['test']->setValue('Fred');
$form->outputObject(new StdClass, $elements);
// in the example below, the new data you have added is to the existing attributes |
|
HIVE: All information for read only. Please respect copyright! |
|