Пример #1
0
 function __construct()
 {
     require 'XML/Serializer.php';
     parent::__construct();
     $this->mode = 'xml';
     $this->mime_type = 'application/xml';
     $this->charset = 'utf-8';
     self::$ob_level = ob_get_level();
     ob_start();
 }
 public function render()
 {
     return \json_encode(parent::render());
 }
Пример #3
0
 function __construct()
 {
     parent::__construct();
     $this->mode = 'ofc';
 }
 public function render()
 {
     return parent::render();
 }