$factory->setErrors()

$factory->setErrors() -- setErrors - sets the suffix of an element to a value..

Synopsis

require_once 'Flexy/Factory.php';

array HTML_Template_Flexy_Factory::setErrors (array $ret, array $set [, string $format = '<span class="error">%s</span>'])

Description

HTML_Element_Factory::setErrors($elements,array('name','not long enough'));

Parameter

Return value

return Array of HTML_Template_Flexy_Element's

Throws

throws no exceptions thrown

Note

This function can not be called statically.