static function getJsonParam($controller, $action, $params, $method = "GET", $async = true, $encode = true) { $param = self::getParam($controller, $action, $params, $method, $async, 'json'); if ($encode) { return AppJson::encode($param); } else { return $param; } }
function getResponse() { return AppJson::encode($this->_response); }