public function before() { if (!\Request::is_hmvc()) { throw new \HttpNotFoundException(); } parent::before(); }
/** * выполняется перед action_* функцией */ public function before() { parent::before(); $this->_actions_data['_ok'] = 1; return true; }