ILIAS
trunk Revision v11.0_alpha-1846-g895b5f47236
|
Class ilChatroomXMLWriter. More...
Public Member Functions | |
__construct (protected ilObjChatroom $chat) | |
start () | |
getXML () | |
![]() | |
__construct (string $version="1.0", string $outEnc="utf-8", string $inEnc="utf-8") | |
xmlSetDtdDef (string $dtdDef) | |
Sets dtd definition. More... | |
xmlSetGenCmt (string $genCmt) | |
Sets generated comment. More... | |
xmlFormatData (string $data) | |
Indents text for better reading. More... | |
xmlHeader () | |
Writes xml header. More... | |
xmlStartTag (string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true) | |
Writes a starttag. More... | |
xmlEndTag (string $tag) | |
Writes an endtag. More... | |
xmlData (string $data, bool $encode=true, bool $escape=true) | |
Writes data. More... | |
xmlElement (string $tag, $attrs=null, $data=null, $encode=true, $escape=true) | |
Writes a basic element (no children, just textual content) More... | |
xmlDumpFile (string $file, bool $format=true) | |
Dumps xml document from memory into a file. More... | |
xmlDumpMem (bool $format=true) | |
Returns xml document from memory. More... | |
appendXML (string $a_str) | |
append xml string to document More... | |
xmlClear () | |
clears xmlStr More... | |
Protected Attributes | |
ilChatroom | $room |
Private Member Functions | |
exportData () | |
Class ilChatroomXMLWriter.
Definition at line 24 of file class.ilChatroomXMLWriter.php.
ilChatroomXMLWriter::__construct | ( | protected ilObjChatroom | $chat | ) |
Definition at line 28 of file class.ilChatroomXMLWriter.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilChatroom\byObjectId().
|
private |
Definition at line 61 of file class.ilChatroomXMLWriter.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilChatroomXMLWriter::getXML | ( | ) |
Definition at line 76 of file class.ilChatroomXMLWriter.php.
References ilXmlWriter\xmlDumpMem().
ilChatroomXMLWriter::start | ( | ) |
Definition at line 39 of file class.ilChatroomXMLWriter.php.
References exportData(), null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
|
protected |
Definition at line 26 of file class.ilChatroomXMLWriter.php.