/** * Set active status * * @param bool $status * @return $this */ public function set_active($status = true) { $this->_params['is_active'] = (bool) $status; if ($this->_section instanceof Navigation_Section) { $this->_section->set_active($status); } return $this; }