|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
XML writer class. More...
Inheritance diagram for ilGroupXMLWriter:
Collaboration diagram for ilGroupXMLWriter:Public Member Functions | |
| __construct ($group_obj) | |
| constructor More... | |
| setMode ($a_mode) | |
| getMode () | |
| start () | |
| getXML () | |
| __buildHeader () | |
| __buildGroup () | |
| Group start. More... | |
| __buildTitleDescription () | |
| __buildRegistration () | |
| __buildExtraSettings () | |
| Build extra settings, like "show member list". More... | |
| __buildAdmin () | |
| __buildMember () | |
| __buildFooter () | |
| setAttachUsers ($value) | |
Public Member Functions inherited from ilXmlWriter | |
| __construct ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
| constructor More... | |
| _ilXmlWriter () | |
| destructor @access public More... | |
| xmlSetDtdDef ($dtdDef) | |
| Sets dtd definition. More... | |
| xmlSetStSheet ($stSheet) | |
| Sets stylesheet. More... | |
| xmlSetGenCmt ($genCmt) | |
| Sets generated comment. More... | |
| xmlEncodeData ($data) | |
| Encodes text from input encoding into output encoding. More... | |
| xmlFormatData ($data) | |
| Indents text for better reading. More... | |
| xmlFormatElement ($array) | |
| Callback function for xmlFormatData; do not invoke directly. More... | |
| xmlHeader () | |
| Writes xml header @access public. More... | |
| xmlStartTag ($tag, $attrs=null, $empty=false, $encode=true, $escape=true) | |
| Writes a starttag. More... | |
| xmlEndTag ($tag) | |
| Writes an endtag. More... | |
| xmlComment ($comment) | |
| Writes a comment. More... | |
| xmlData ($data, $encode=true, $escape=true) | |
| Writes data. More... | |
| xmlElement ($tag, $attrs=null, $data=null, $encode=true, $escape=true) | |
| Writes a basic element (no children, just textual content) More... | |
| xmlDumpFile ($file, $format=true) | |
| Dumps xml document from memory into a file. More... | |
| xmlDumpMem ($format=true) | |
| Returns xml document from memory. More... | |
| appendXML ($a_str) | |
| append xml string to document More... | |
| xmlClear () | |
| clears xmlStr @access public More... | |
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" | |
Protected Member Functions | |
| __buildMetaData () | |
| write lom meta data More... | |
| __buildPeriod () | |
| Build group period. More... | |
Private Member Functions | |
| __buildAdvancedMetaData () | |
| Build advanced meta data. More... | |
Private Attributes | |
| $mode = self::MODE_SOAP | |
| $ilias | |
| $xml | |
| $group_obj | |
| $attach_users = true | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlWriter | |
| static | _xmlEscapeData ($data) |
| Escapes reserved characters. More... | |
XML writer class.
Class for writing xml export versions of courses
Definition at line 36 of file class.ilGroupXMLWriter.php.
| ilGroupXMLWriter::__construct | ( | $group_obj | ) |
constructor
| string | xml version |
| string | output encoding |
| string | input encoding @access public |
Definition at line 57 of file class.ilGroupXMLWriter.php.
References $DIC, $group_obj, $ilias, and ilGroupParticipants\_getInstanceByObjId().
Here is the call graph for this function:| ilGroupXMLWriter::__buildAdmin | ( | ) |
Definition at line 268 of file class.ilGroupXMLWriter.php.
References $GLOBALS, $id, ilOrgUnitOperation\OP_MANAGE_MEMBERS, and ilXmlWriter\xmlElement().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Build advanced meta data.
@access private
Definition at line 173 of file class.ilGroupXMLWriter.php.
References ilAdvancedMDValues\_appendXMLByObjId().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLWriter::__buildExtraSettings | ( | ) |
Build extra settings, like "show member list".
Definition at line 263 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLWriter::__buildFooter | ( | ) |
Definition at line 306 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLWriter::__buildGroup | ( | ) |
Group start.
Definition at line 135 of file class.ilGroupXMLWriter.php.
References GRP_TYPE_CLOSED, GRP_TYPE_PUBLIC, and ilXmlWriter\xmlStartTag().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLWriter::__buildHeader | ( | ) |
Definition at line 121 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLWriter::__buildMember | ( | ) |
Definition at line 287 of file class.ilGroupXMLWriter.php.
References $GLOBALS, $id, ilOrgUnitOperation\OP_MANAGE_MEMBERS, and ilXmlWriter\xmlElement().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
write lom meta data
Definition at line 158 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\appendXML().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Build group period.
Definition at line 196 of file class.ilGroupXMLWriter.php.
References IL_CAL_UNIX, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLWriter::__buildRegistration | ( | ) |
Definition at line 210 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLWriter::__buildTitleDescription | ( | ) |
Definition at line 179 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLWriter::getMode | ( | ) |
Definition at line 77 of file class.ilGroupXMLWriter.php.
References $mode.
Referenced by start().
Here is the caller graph for this function:| ilGroupXMLWriter::getXML | ( | ) |
Definition at line 115 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlDumpMem().
Here is the call graph for this function:| ilGroupXMLWriter::setAttachUsers | ( | $value | ) |
Definition at line 311 of file class.ilGroupXMLWriter.php.
| ilGroupXMLWriter::setMode | ( | $a_mode | ) |
Definition at line 72 of file class.ilGroupXMLWriter.php.
| ilGroupXMLWriter::start | ( | ) |
Definition at line 82 of file class.ilGroupXMLWriter.php.
References __buildAdmin(), __buildAdvancedMetaData(), __buildExtraSettings(), __buildFooter(), __buildGroup(), __buildHeader(), __buildMember(), __buildMetaData(), __buildPeriod(), __buildRegistration(), __buildTitleDescription(), ilContainer\_exportContainerSettings(), ilContainerSortingSettings\_exportContainerSortingSettings(), and getMode().
Here is the call graph for this function:
|
private |
Definition at line 48 of file class.ilGroupXMLWriter.php.
|
private |
Definition at line 47 of file class.ilGroupXMLWriter.php.
Referenced by __construct().
|
private |
Definition at line 44 of file class.ilGroupXMLWriter.php.
Referenced by __construct().
|
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.