Пример #1
0
 public function __construct()
 {
     if (C("SMARTY_ON")) {
         parent::__construct();
     }
     if (method_exists($this, '_init')) {
         $this->_init();
     }
 }
Пример #2
0
 /**
  * [__construct 扩展构造函数]
  */
 public function __construct()
 {
     if (C('SMARTY_ON')) {
         parent::__construct();
     }
     if (method_exists($this, '__auto')) {
         $this->__auto();
     }
     if (method_exists($this, '__init')) {
         $this->__init();
     }
 }
Пример #3
0
 public function __construct()
 {
     Hook::listen('CONTROLLER_START');
     if (C("SMARTY_ON")) {
         parent::__construct();
     }
     if (method_exists($this, '__init')) {
         $this->__init();
     }
     if (method_exists($this, '__auto')) {
         $this->__auto();
     }
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     parent::setTemplate("DeleteMember.tpl");
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct();
     parent::setTemplate('Decoration.tpl');
     $this->setAttribute('cssFileName', 'common');
 }