/** * Retrieves the data for a given key from the FE user session. Returns an * empty string if no data for that key is stored. * * @param mixed $unused (unused) * @param array $parameters * the contents of the "params" child of the userobj node as key/value pairs * (used for retrieving the current form field name) * * @return string the data stored in the FE user session under the given key, might be empty */ public function retrieveDataFromSession($unused, array $parameters) { return tx_oelib_Session::getInstance(tx_oelib_Session::TYPE_USER)->getAsString($this->prefixId . '_' . $parameters['key']); }