_do404(); } protected function _doGetCountiesAjax() { $id = QS_Request::getPostValue('id'); $year = QS_Request::getPostValue('year'); if (null === $year || $year == "") { $this->_displayJson(['isError' => 'true', 'message' => 'Wrong request']); exit; } $response = (new App_BenchmarkPlans_Admin_Obj())->getCounties4Select($id, $year); $this->_displayJson($response); exit; } }