ILIAS
release_4-3 Revision
|
XML writer class. More...
Public Member Functions | |
ilGroupXMLWriter ($group_obj) | |
constructor | |
setMode ($a_mode) | |
getMode () | |
start () | |
getXML () | |
__buildHeader () | |
__buildGroup () | |
Group start. | |
__buildTitleDescription () | |
__buildRegistration () | |
__buildAdmin () | |
__buildMember () | |
__buildFooter () | |
setAttachUsers ($value) | |
Public Member Functions inherited from ilXmlWriter | |
ilXmlWriter ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
constructor | |
_ilXmlWriter () | |
destructor public | |
xmlSetDtdDef ($dtdDef) | |
Sets dtd definition. | |
xmlSetStSheet ($stSheet) | |
Sets stylesheet. | |
xmlSetGenCmt ($genCmt) | |
Sets generated comment. | |
_xmlEscapeData ($data) | |
Escapes reserved characters. | |
xmlEncodeData ($data) | |
Encodes text from input encoding into output encoding. | |
xmlFormatData ($data) | |
Indents text for better reading. | |
xmlFormatElement ($array) | |
Callback function for xmlFormatData; do not invoke directly. | |
xmlHeader () | |
Writes xml header public. | |
xmlStartTag ($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE) | |
Writes a starttag. | |
xmlEndTag ($tag) | |
Writes an endtag. | |
xmlComment ($comment) | |
Writes a comment. | |
xmlData ($data, $encode=TRUE, $escape=TRUE) | |
Writes data. | |
xmlElement ($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE) | |
Writes a basic element (no children, just textual content) | |
xmlDumpFile ($file, $format=TRUE) | |
Dumps xml document from memory into a file. | |
xmlDumpMem ($format=TRUE) | |
Returns xml document from memory. | |
appendXML ($a_str) | |
append xml string to document | |
xmlClear () | |
clears xmlStr public |
Data Fields | |
const | MODE_SOAP = 1 |
const | MODE_EXPORT = 2 |
Data Fields inherited from ilXmlWriter | |
$xmlStr | |
$version | |
$outEnc | |
$inEnc | |
$dtdDef = "" | |
$stSheet = "" | |
$genCmt = "Generated by ILIAS XmlWriter" |
Private Attributes | |
$mode = self::MODE_SOAP | |
$ilias | |
$xml | |
$group_obj | |
$attach_users = true |
XML writer class.
Class for writing xml export versions of courses
Definition at line 36 of file class.ilGroupXMLWriter.php.
ilGroupXMLWriter::__buildAdmin | ( | ) |
Definition at line 209 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
ilGroupXMLWriter::__buildFooter | ( | ) |
Definition at line 235 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
ilGroupXMLWriter::__buildGroup | ( | ) |
Group start.
Definition at line 126 of file class.ilGroupXMLWriter.php.
References GRP_TYPE_CLOSED, GRP_TYPE_PUBLIC, and ilXmlWriter\xmlStartTag().
Referenced by start().
ilGroupXMLWriter::__buildHeader | ( | ) |
Definition at line 112 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
Referenced by start().
ilGroupXMLWriter::__buildMember | ( | ) |
Definition at line 221 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
ilGroupXMLWriter::__buildRegistration | ( | ) |
Definition at line 161 of file class.ilGroupXMLWriter.php.
References GRP_REGISTRATION_DEACTIVATED, GRP_REGISTRATION_DIRECT, GRP_REGISTRATION_PASSWORD, GRP_REGISTRATION_REQUEST, IL_CAL_UNIX, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilGroupXMLWriter::__buildTitleDescription | ( | ) |
Definition at line 146 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
ilGroupXMLWriter::getMode | ( | ) |
Definition at line 76 of file class.ilGroupXMLWriter.php.
References $mode.
Referenced by start().
ilGroupXMLWriter::getXML | ( | ) |
Definition at line 106 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlDumpMem().
ilGroupXMLWriter::ilGroupXMLWriter | ( | $group_obj | ) |
constructor
string | xml version |
string | output encoding |
string | input encoding public |
Definition at line 57 of file class.ilGroupXMLWriter.php.
References $group_obj, $ilias, ilGroupParticipants\_getInstanceByObjId(), and ilXmlWriter\ilXmlWriter().
ilGroupXMLWriter::setAttachUsers | ( | $value | ) |
Definition at line 240 of file class.ilGroupXMLWriter.php.
ilGroupXMLWriter::setMode | ( | $a_mode | ) |
Definition at line 71 of file class.ilGroupXMLWriter.php.
ilGroupXMLWriter::start | ( | ) |
Definition at line 81 of file class.ilGroupXMLWriter.php.
References __buildAdmin(), __buildFooter(), __buildGroup(), __buildHeader(), __buildMember(), __buildRegistration(), __buildTitleDescription(), and getMode().
|
private |
Definition at line 48 of file class.ilGroupXMLWriter.php.
|
private |
Definition at line 47 of file class.ilGroupXMLWriter.php.
Referenced by ilGroupXMLWriter().
|
private |
Definition at line 44 of file class.ilGroupXMLWriter.php.
Referenced by ilGroupXMLWriter().
|
private |
Definition at line 41 of file class.ilGroupXMLWriter.php.
Referenced by getMode().
|
private |
Definition at line 46 of file class.ilGroupXMLWriter.php.
const ilGroupXMLWriter::MODE_EXPORT = 2 |
Definition at line 39 of file class.ilGroupXMLWriter.php.
Referenced by ilGroupExporter\getXmlRepresentation().
const ilGroupXMLWriter::MODE_SOAP = 1 |
Definition at line 38 of file class.ilGroupXMLWriter.php.