/** * Should be called after answering the request to allow the Target * to check if all required registry values have been set correctly. * * @return boolean False if required values are missing. */ public function checkRegistryRequestsAnswers() { // Make sure \Gems_User_User gets userLoader variable. $extras['userLoader'] = $this; // Make sure that this code keeps working when _initSession // is removed from GemsEscort if (!$this->session instanceof \Zend_Session_Namespace) { $this->session = new \Zend_Session_Namespace('gems.' . GEMS_PROJECT_NAME . '.session'); $idleTimeout = $this->project->getSessionTimeout(); $this->session->setExpirationSeconds($idleTimeout); $extras['session'] = $this->session; } $this->addRegistryContainer($extras); }