function _init(&$oForm, $aElement, $aObjectType, $sXPath, $sNamePrefix = FALSE) { parent::_init($oForm, $aElement, $aObjectType, $sXPath, $sNamePrefix); if (!t3lib_extmgm::isLoaded("extbase")) { $this->oForm->mayday("datasource:CONTENTREPOSITORY[name='" . $this->getName() . "'] The Content Repository API is <b>not loaded</b>, and should be (<b>EXT:extbase</b>)."); } $this->loadContentRepositoryFramework(); $this->loadAggregates(); $this->loadRepository(); }
function baseCleanBeforeSession() { parent::baseCleanBeforeSession(); unset($this->oDb); $this->oDb = FALSE; }