ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Public Member Functions | |
__construct () | |
addRow ($values) | |
Adding row data to XML. More... | |
saveString () | |
Get document content as string. More... | |
setData ($values) | |
Set XML data. More... | |
setDocProp ($prop, $val) | |
Set a document property of the XML. More... | |
![]() | |
__construct () | |
addRow ($values) | |
Adding row data to table. More... | |
saveString () | |
Get document content as string. More... | |
saveFile ($filename, $target=NULL) | |
Export the document. More... | |
setData ($values) | |
Set tabular data. More... | |
Protected Attributes | |
$content_type = 'application/xml' | |
$file_extension = 'xml' | |
![]() | |
$tabl_data | |
$content_type = 'text' | |
$file_extension = 'txt' | |
Private Attributes | |
$doc_prop | |
Definition at line 11 of file XMLWriter.php.
SimpleExcel\Writer\XMLWriter::__construct | ( | ) |
Definition at line 40 of file XMLWriter.php.
SimpleExcel\Writer\XMLWriter::addRow | ( | $values | ) |
Adding row data to XML.
array | $values | An array contains ordered value for every cell |
Implements SimpleExcel\Writer\IWriter.
Definition at line 57 of file XMLWriter.php.
References $row, and SimpleExcel\Writer\BaseWriter\$tabl_data.
Referenced by SimpleExcel\Writer\XMLWriter\setData().
SimpleExcel\Writer\XMLWriter::saveString | ( | ) |
Get document content as string.
Implements SimpleExcel\Writer\IWriter.
Definition at line 92 of file XMLWriter.php.
SimpleExcel\Writer\XMLWriter::setData | ( | $values | ) |
Set XML data.
array | $values | An array contains ordered value of arrays for all fields |
Implements SimpleExcel\Writer\IWriter.
Definition at line 123 of file XMLWriter.php.
References SimpleExcel\Writer\XMLWriter\addRow().
SimpleExcel\Writer\XMLWriter::setDocProp | ( | $prop, | |
$val | |||
) |
Set a document property of the XML.
string | $prop | Document property to be set |
string | $val | Value of the document property |
Definition at line 142 of file XMLWriter.php.
|
protected |
Definition at line 19 of file XMLWriter.php.
|
private |
Definition at line 35 of file XMLWriter.php.
|
protected |
Definition at line 27 of file XMLWriter.php.