/** * Preparation */ protected function _pre() { parent::_pre(); }
/** * Prepare * return void */ protected function _pre() { $this->_tabs = $this->sortPosition($this->_tabs); if (empty($this->_hasActiveTab) && !empty($this->_tabs)) { zbase_collection($this->_tabs)->first()->setActive(true); } parent::_pre(); }
/** * Prepare * @return void */ protected function _pre() { $this->_contents = $this->sortPosition($this->_contents); parent::_pre(); }