Ejemplo n.º 1
0
 /**
  *	Registry instance
  *
  *	@return	void
  */
 public function registry()
 {
     $this->settings = CTM_Registry::fetchSettings();
     $this->vars = CTM_Registry::fetchVariables();
     $this->output = CTM_Registry::fetchOutput();
     $this->lang = CTM_Registry::fetchLanguage();
     $this->functions = CTM_Registry::fetchFunctions();
     $this->DB = CTM_Registry::fetchDriver();
     $this->section = CTM_Registry::fetchSection();
     if (count(CTM_Registry::$libs) > 0) {
         foreach (CTM_Registry::$libs as $key => $class) {
             $this->{$key} = $class;
         }
     }
 }