/** * Retrieves data from the current session. The data is accessed by "key". * * @param mixed the key * @return void */ public function loadFromSession($key) { session_start(); if ($className = $_SESSION[$key . '.']['className']) { tx_div2007::load($className); session_write_close(); session_start(); $this->overwriteArray($_SESSION[$key]); } }