public function __construct(\Zend_Form $subForm, $spec, $options = null, $tabcolumn = null, $active = null) { if (isset($options['tabcolumn'])) { $this->_decoratorOptions['tabcolumn'] = $options['tabcolumn']; } if (isset($options['active'])) { $this->_decoratorOptions['active'] = $options['active']; } if (isset($options['selectedTabElement'])) { $this->_decoratorOptions['selectedTabElement'] = $options['selectedTabElement']; } parent::__construct($subForm, $spec, $options); }
/** * Constructor * * $spec may be: * - string: name of element * - array: options with which to configure element * - \Zend_Config: \Zend_Config with options for configuring element * * @param string|array|\Zend_Config $spec * @param array|\Zend_Config $options * @return void * @throws \Zend_Form_Exception if no element name after initialization */ public function __construct($spec, $options = null) { parent::__construct($spec, $options); $this->addClass($this->_elementClass); }