/** * Gets the latest session-saved environment and inject it in $_env * Returns true if $_env was modified, false otherwise * * @return boolean */ public function restoreSearchTerms() { if (count($this->getEnv()) == 0) { $env = Core::sessionGet('uri' . str_replace('/', '_', $this->_uriBase)); if (is_array($env)) { $this->setEnv($env); return true; } } return false; }