Пример #1
0
 /**
  *
  */
 public function __construct()
 {
     self::$instance =& $this;
     $this->load = new \TP_load();
     $this->registry = new \TP_registry();
     \TP_hooks::label('TP_controller_construct');
 }
Пример #2
0
 /**
  *
  */
 public function __construct()
 {
     self::$instance =& $this;
     $this->registry = new TP_registry();
     TP_hooks::label('TP_load_construct');
 }