Example #1
0
 public static function dependencies()
 {
     \loaders\Loader::load_interface('routing/IRoute');
     \loaders\Loader::load_interface('events/IQuery');
     \loaders\Loader::load_interface('events/IEvent');
     \loaders\Loader::load_helper('controllers');
 }
Example #2
0
 protected function load_file()
 {
     if (!is_null($this->classfile)) {
         \loaders\Loader::load_once($this->classfile);
     } elseif (!class_exists($this->class)) {
         $this->exception('Couldn\'t autoload object', \fException::FATAL, $this->class);
     }
 }
Example #3
0
 public static function dependencies()
 {
     \loaders\Loader::load_helper('view/skeletons');
 }