/** * Loads cache data for the assets */ protected function loadAssets() { $assets = $this->assetsObjectBackend->loadObject(); if (!is_array($assets)) { $assets = array(); } $this->assets = $assets; }
/** * Loads the items from the object backend * * @access public */ protected function loadItems() { $items = $this->eventAccessObjectBackend->loadObject(); if (!is_array($items)) { $items = array(); } $this->items = $items; }
/** * Initializes the routing table. The function loads * the saved routes from the object backend. * * @access public */ public function initializeRoutingTable() { $routes = $this->routeObjectBackend->loadObject(); if (!is_array($routes)) { $routes = array(); } $this->routes = $routes; }
/** * Loads the templates from the object backend * * @access public */ protected function loadTemplates() { $templates = $this->templatesObjectBackend->loadObject(); if (!is_array($templates)) { $templates = array(); } $this->templates = $templates; }
/** * Loads the access levels from the object backend * * @access public */ protected function loadAccessLevels() { $accessLevels = $this->accessLevelsObjectBackend->loadObject(); if (!is_array($accessLevels)) { $accessLevels = array(); } $this->accessLevels = $accessLevels; }
/** * Loads cache data for the assets * * @access public */ protected function loadAssetsCache() { $cachedFiles = $this->cachedFilesObjectBackend->loadObject(); if (!is_array($cachedFiles)) { $cachedFiles = array(); } $this->cachedFiles = $cachedFiles; }
/** * Initializes the event system. The function loads all saved * events from the object backend. * * @access public */ public function initializeManager() { $handlers = $this->handlerObjectBackend->loadObject(); if (!is_array($handlers)) { $handlers = array(); } $this->handlers = $handlers; }
/** * Initializes the data source manager. The function loads all saved * events from the object backend. * * @access public */ public function initializeDataSourceManager() { $dataSources = $this->dataSourceObjectBackend->loadObject(); if (!is_array($dataSources)) { $dataSources = array(); } $this->dataSources = $dataSources; }
/** * Initializes the module system. Loads the activated modules from the * object backend and loads all modules. * * @access public */ public function initializeModuleSystem() { $activatedModules = $this->moduleObjectBackend->loadObject(); if (!is_array($activatedModules)) { $activatedModules = array(); } $this->activatedModules = $activatedModules; foreach ($this->activatedModules as $activatedModule) { $this->initializeModule($activatedModule['path']); } }