ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
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
?>
SimpleExcel\Writer\JSONWriter
Definition:
JSONWriter.php:11
SimpleExcel\Writer\JSONWriter\$content_type
$content_type
Definition:
JSONWriter.php:19
SimpleExcel\Writer
Definition:
BaseWriter.php:3
SimpleExcel\Writer\JSONWriter\saveString
saveString()
Get document content as string.
Definition:
JSONWriter.php:34
SimpleExcel\Writer\IWriter
define writer interface
Definition:
IWriter.php:13
SimpleExcel\Writer\JSONWriter\$file_extension
$file_extension
Definition:
JSONWriter.php:27
SimpleExcel\Writer\BaseWriter
Definition:
BaseWriter.php:11
Modules
DataCollection
libs
SimpleExcel
Writer
JSONWriter.php
Generated on Mon Aug 25 2025 19:00:32 for ILIAS by
1.8.13 (using
Doxyfile
)