/** * Starts Session if SessionComponent is used in Controller::beforeFilter(), * or is called from * * @return boolean * @access private */ function __start() { if ($this->__started === false) { if (!$this->id() && parent::start()) { $this->__started = true; parent::_checkValid(); } else { $this->__started = parent::start(); } } return $this->__started; }
/** * Starts Session if SessionComponent is used in Controller::beforeFilter(), * or is called from * * @return boolean * @access private */ function __start() { if ($this->started() === false) { if (!$this->id() && parent::start()) { parent::_checkValid(); } else { parent::start(); } } return $this->started(); }