示例#1
0
 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;
 }
示例#3
0
文件: feed.php 项目: jeanvoye/utb
 function __construct(ezcMvcRequest $req, ezcMvcResult $res, $feedType = 'rss2')
 {
     parent::__construct($req, $res);
     $this->feedType = $feedType;
 }