ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
JSONWriter.php
Go to the documentation of this file.
1 <?php
2 
3 namespace SimpleExcel\Writer;
4 
11 class JSONWriter extends BaseWriter implements IWriter
12 {
19  protected $content_type = 'application/json';
20 
27  protected $file_extension = 'json';
28 
34  public function saveString(){
35  return json_encode($this->tabl_data);
36  }
37 }
38 ?>
saveString()
Get document content as string.
Definition: JSONWriter.php:34
define writer interface
Definition: IWriter.php:13