function __construct($options = null) { // Set the decorators $this->_decorators = array(array('BootstrapDescription', array('escape' => false)), 'FormElements', 'Fieldet'); // Set the decorators $this->setDecorators(array(array('BootstrapDescription', array('escape' => false)), 'FormElements', 'Fieldset')); // Set the element decorators $this->_elementDecorators = array('ViewHelper', array('Description', array('tag' => 'p', 'class' => 'help-block')), 'Errors', array(array('data' => 'HtmlTag'), array('tag' => 'div', 'class' => 'controls')), array('Label', array('class' => 'control-label')), array(array('row' => 'HtmlTag'), array('tag' => 'div', 'class' => 'control-group'))); // Call the constructor of the parent object parent::__construct($options); }
function __construct($options = null) { // Set the element decorators $this->_elementDecorators = array('ViewHelper', array('Description', array('tag' => 'p', 'class' => 'help-block')), 'Errors', array(array('data' => 'HtmlTag'), array('tag' => 'div', 'class' => 'input')), array('Label', array('class' => 'control-label')), array(array('row' => 'HtmlTag'), array('tag' => 'div', 'class' => 'clearfix'))); parent::__construct($options); }