Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

json.php
Go to the documentation of this file.
1 <?php
12 class ezpRestJsonView extends ezcMvcView
13 {
14 public function __construct( ezcMvcRequest $request, ezcMvcResult $result )
15 {
16 parent::__construct( $request, $result );
17
18 $result->content = new ezcMvcResultContent();
19 $result->content->type = "application/json";
20 $result->content->charset = "UTF-8";
21 }
22
23 public function createZones( $layout )
24 {
25 $zones = array();
26 $zones[] = new ezcMvcJsonViewHandler( 'content' );
27 return $zones;
28 }
29 }
30 ?>
ezpRestJsonView
Definition: json.php:13
ezpRestJsonView\createZones
createZones( $layout)
Definition: json.php:23
ezpRestJsonView\__construct
__construct(ezcMvcRequest $request, ezcMvcResult $result)
Definition: json.php:14
$result
$result
Definition: companysearch.php:94
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.