예제 #1
0
 /**
  * Loads cache data for the assets
  */
 protected function loadAssets()
 {
     $assets = $this->assetsObjectBackend->loadObject();
     if (!is_array($assets)) {
         $assets = array();
     }
     $this->assets = $assets;
 }
예제 #2
0
 /**
  * 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;
 }
예제 #3
0
파일: RouteManager.php 프로젝트: zepi/turbo
 /**
  * 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;
 }
예제 #4
0
 /**
  * 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;
 }
예제 #5
0
 /**
  * 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;
 }
예제 #6
0
 /**
  * Loads cache data for the assets
  * 
  * @access public
  */
 protected function loadAssetsCache()
 {
     $cachedFiles = $this->cachedFilesObjectBackend->loadObject();
     if (!is_array($cachedFiles)) {
         $cachedFiles = array();
     }
     $this->cachedFiles = $cachedFiles;
 }
예제 #7
0
 /**
  * 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;
 }
예제 #8
0
 /**
  * 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;
 }
예제 #9
0
 /**
  * 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']);
     }
 }