/** * [Describe function...] * * @param [type] $$aHibernation: ... * @return [type] ... */ function &unHibernate(&$aHibernation) { tx_ameosformidable::loadRunningObjects($aHibernation); tx_ameosformidable::loadParent($aHibernation); if ($aHibernation["be_user"] !== FALSE) { $GLOBALS["BE_USER"] = unserialize($aHibernation["be_user"]); } // require_once(t3lib_extMgm::extPath('sv') . 'class.tx_sv_authbase.php'); $GLOBALS["T3_VAR"] = unserialize($aHibernation["t3_var"]); $oForm = unserialize($aHibernation["object"]); $oForm->cObj = t3lib_div::makeInstance('tslib_cObj'); $oForm->conf =& $GLOBALS["_SESSION"]["ameos_formidable"]["tsconf"]; $oForm->_includeSandBox(); // rebuilding class $oForm->oSandBox = unserialize($oForm->oSandBox); $oForm->oSandBox->oForm =& $oForm; $oForm->oDataHandler->oForm =& $oForm; $oForm->oRenderer->oForm =& $oForm; $oForm->buildCodeBehinds(); return $oForm; }