$form = new HTML_Template_Flexy();
$form->compile($this->masterTemplate);
// 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');
// wrap it with something
$elements['test']->prefix = '******';
$elements['test']->suffix = '!!!!!!';
$form->output(new StdClass, $elements);
// in the example below, the new data you have added is to the existing attributes |