예제 #1
0
 public function init()
 {
     parent::init();
     $this->onInit_chkLogin();
     //$render = $this->ini->viewRenderType();
     $this->initForUriDefault();
 }
예제 #2
0
 public function init()
 {
     parent::init();
     $render = $this->ini->viewRenderType();
     if ($render === 'html') {
         $this->ini->viewRenderType('json');
     }
 }