Example #1
0
 /**
  * @param $confObj
  * @return void
  */
 public function init($confObj)
 {
     $this->confObj = $confObj;
     // get Application params
     $this->copyDefaultLanguage = $this->confObj->getApplicationConfiguration('CopyDefaultLanguage');
     $this->availableLanguages = $this->confObj->getApplicationConfiguration('AvailableLanguages');
     $this->approvedExtensions = $this->confObj->getApplicationConfiguration('ApprovedExtensions');
     $this->localExtensionPath = $this->confObj->getApplicationConfiguration('LocalExtensionPath');
     $this->systemExtensionPath = $this->confObj->getApplicationConfiguration('SystemExtensionPath');
     $this->globalExtensionPath = $this->confObj->getApplicationConfiguration('GlobalExtensionPath');
     // get Extension params
     $this->sitePath = $this->confObj->getExtensionConfiguration('SitePath');
     $this->l10nPath = $this->confObj->getExtensionConfiguration('L10nPath');
     $this->loadedExtensions = $this->confObj->getExtensionConfigurationLoadedExtensions();
 }