function FormFieldSet($fields = null) { $this->_changed = array(); $this->_valid = array(); if ($fields && is_array($fields)) { foreach (array_keys($fields) as $k) { $this->_changed[$k] = false; $this->_valid[$k] = true; } } parent::FieldSet($fields); }
/** * Constructor * * @access public * @param string $legend * @return void */ function Jaws_Widgets_FieldSet($legend = '') { parent::FieldSet($legend); $this->_direction = 'vertical'; }