示例#1
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     if (!isset($this->crudModelsClass['setting']) || $this->crudModelsClass['setting'] === null) {
         $this->crudModelsClass['setting'] = '\\kalibao\\common\\models\\interfaceSetting\\InterfaceSetting';
     }
     if (!isset($this->crudComponentsClass['setting']) || $this->crudComponentsClass['setting'] === null) {
         $this->crudComponentsClass['setting'] = '\\kalibao\\common\\components\\crud\\Setting';
     }
 }
示例#2
0
 /**
  * Register client side
  */
 protected function registerClientSide()
 {
     parent::registerClientSide();
     $this->registerClientSideApp();
 }
示例#3
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     $this->autoRedirect();
 }