ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 () | |
__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" | |
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 220 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
ilGroupXMLWriter::__buildFooter | ( | ) |
Definition at line 246 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
ilGroupXMLWriter::__buildGroup | ( | ) |
Group start.
Definition at line 132 of file class.ilGroupXMLWriter.php.
References GRP_TYPE_CLOSED, GRP_TYPE_PUBLIC, and ilXmlWriter\xmlStartTag().
Referenced by start().
ilGroupXMLWriter::__buildHeader | ( | ) |
Definition at line 118 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
Referenced by start().
ilGroupXMLWriter::__buildMember | ( | ) |
Definition at line 232 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlElement().
Referenced by start().
ilGroupXMLWriter::__buildRegistration | ( | ) |
Definition at line 167 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 152 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 112 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlDumpMem().
ilGroupXMLWriter::setAttachUsers | ( | $value | ) |
Definition at line 251 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(), 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.