/** * * Fixes the stack of parent classes for the model. * * @return void * */ protected function _fixStack() { $this->_stack = Solar::factory('Solar_Class_Stack'); $this->_stack->setByParents($this, 'Model'); }
/** * * Reset the filter class stack. * * @param string|array $list The classes to set for the stack. * * @return void * * @see Solar_Class_Stack::set() * * @see Solar_Class_Stack::add() * */ public function setFilterClass($list = null) { $this->_stack->setByParents($this); $this->_stack->add($this->_config['classes']); $this->_stack->add($list); }