public function __construct(ezcMvcRequest $request, ezcMvcResult $result) { parent::__construct($request, $result); $result->content = new ezcMvcResultContent(); $result->content->type = "application/json"; $result->content->charset = "UTF-8"; }
public function __construct(ezcMvcRequest $request, ezcMvcResult $result, ezcMvcRoutingInformation $routeInfo) { parent::__construct($request, $result); $this->routeInfo = $routeInfo; }
function __construct(ezcMvcRequest $req, ezcMvcResult $res, $feedType = 'rss2') { parent::__construct($req, $res); $this->feedType = $feedType; }