ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
XML writer class. More...
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 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 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 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 | |
__buildPeriod () | |
Build group period. 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 public |
Definition at line 57 of file class.ilGroupXMLWriter.php.
References $group_obj, $ilias, and ilGroupParticipants\_getInstanceByObjId().
ilGroupXMLWriter::__buildAdmin | ( | ) |
Definition at line 237 of file class.ilGroupXMLWriter.php.
References $GLOBALS, $id, ilOrgUnitOperation\OP_MANAGE_MEMBERS, and ilXmlWriter\xmlElement().
Referenced by start().
ilGroupXMLWriter::__buildExtraSettings | ( | ) |
Build extra settings, like "show member list".
Definition at line 232 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
ilGroupXMLWriter::__buildFooter | ( | ) |
Definition at line 275 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
ilGroupXMLWriter::__buildGroup | ( | ) |
Group start.
Definition at line 129 of file class.ilGroupXMLWriter.php.
References GRP_TYPE_CLOSED, GRP_TYPE_PUBLIC, and ilXmlWriter\xmlStartTag().
Referenced by start().
ilGroupXMLWriter::__buildHeader | ( | ) |
Definition at line 115 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
Referenced by start().
ilGroupXMLWriter::__buildMember | ( | ) |
Definition at line 256 of file class.ilGroupXMLWriter.php.
References $GLOBALS, $id, ilOrgUnitOperation\OP_MANAGE_MEMBERS, and ilXmlWriter\xmlElement().
Referenced by start().
|
protected |
Build group period.
Definition at line 165 of file class.ilGroupXMLWriter.php.
References IL_CAL_UNIX, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
ilGroupXMLWriter::__buildRegistration | ( | ) |
Definition at line 179 of file class.ilGroupXMLWriter.php.
References array, 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 148 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
ilGroupXMLWriter::getMode | ( | ) |
Definition at line 75 of file class.ilGroupXMLWriter.php.
References $mode.
Referenced by start().
ilGroupXMLWriter::getXML | ( | ) |
Definition at line 109 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlDumpMem().
ilGroupXMLWriter::setAttachUsers | ( | $value | ) |
Definition at line 280 of file class.ilGroupXMLWriter.php.
ilGroupXMLWriter::setMode | ( | $a_mode | ) |
Definition at line 70 of file class.ilGroupXMLWriter.php.
ilGroupXMLWriter::start | ( | ) |
Definition at line 80 of file class.ilGroupXMLWriter.php.
References __buildAdmin(), __buildExtraSettings(), __buildFooter(), __buildGroup(), __buildHeader(), __buildMember(), __buildPeriod(), __buildRegistration(), __buildTitleDescription(), ilContainer\_exportContainerSettings(), ilContainerSortingSettings\_exportContainerSortingSettings(), and getMode().
|
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.