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