/** * @param $confObj */ public function __construct($confObj) { $this->confObj = $confObj; $this->debug = $confObj->debug; // get Application params $this->availableLanguages = $this->confObj->getApplicationConfiguration('AvailableLanguages'); // get Extension params // get User parasm $this->isAdmin = $this->confObj->getUserConfigurationIsAdmin(); $this->permittedLanguages = $this->confObj->getUserConfiguration('PermittedLanguages'); $this->allocatedGroups = $this->confObj->getUserConfiguration('AllocatedGroups'); $this->selectedLanguages = $this->confObj->getUserConfiguration('SelectedLanguages'); }
/** * @param $confObj */ public function __construct($confObj) { $this->confObj = $confObj; $this->database = $this->confObj->getDatabase(); $this->debug = $confObj->debug; // Get Current TableId $this->currentTableId = $this->database->getCurrentTableId(); // get User params $this->columnsConfiguration = $this->confObj->getUserConfigurationColumns(); $this->showColumnLabel = $this->columnsConfiguration['ShowColumnLabel']; $this->showColumnDefault = $this->columnsConfiguration['ShowColumnDefault']; $this->isAdmin = $this->confObj->getUserConfigurationIsAdmin(); $this->permittedExtensions = $this->confObj->getUserConfiguration('PermittedExtensions'); // extjs params $this->searchString = $this->confObj->getExtjsConfiguration('SearchString'); $this->extensionId = $this->confObj->getExtjsConfiguration('ExtensionId'); $this->Dir = $this->confObj->getExtjsConfiguration('dir'); $this->Sort = $this->confObj->getExtjsConfiguration('sort'); $this->listViewStart = $this->confObj->getExtjsConfigurationListViewStart(); $this->listViewLimit = $this->confObj->getExtjsConfigurationListViewLimit(); $this->translationId = $this->confObj->getExtjsConfiguration('TranslationId'); $this->translationValue = $this->confObj->getExtjsConfiguration('TranslationValue'); // get language object $this->getLanguageObject(); // get available languages $this->languages = $this->langObj->getLanguages(); }
/** * @param $confObj */ public function __construct($confObj) { $this->confObj = $confObj; $this->database = $this->confObj->getDatabase(); $this->debug = $confObj->debug; // Get Current TableId $this->currentTableId = $this->database->getCurrentTableId(); // get Application params $this->showLocalExtensions = $this->confObj->getApplicationConfiguration('ShowLocalExtensions'); $this->showSystemExtensions = $this->confObj->getApplicationConfiguration('ShowSystemExtensions'); $this->showGlobalExtensions = $this->confObj->getApplicationConfiguration('ShowGlobalExtensions'); $this->approvedExtensions = $this->confObj->getApplicationConfiguration('ApprovedExtensions'); $this->showOnlyLoadedExtensions = $this->confObj->getApplicationConfiguration('ShowOnlyLoadedExtensions'); // get User params $this->isAdmin = $this->confObj->getUserConfigurationIsAdmin(); $this->permittedExtensions = $this->confObj->getUserConfiguration('PermittedExtensions'); }