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