| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
XML writer class. More...
 Inheritance diagram for ilSoapRoleObjectXMLWriter:
 Inheritance diagram for ilSoapRoleObjectXMLWriter: Collaboration diagram for ilSoapRoleObjectXMLWriter:
 Collaboration diagram for ilSoapRoleObjectXMLWriter:| Public Member Functions | |
| ilSoapRoleObjectXMLWriter () | |
| constructor | |
| setObjects (&$roles) | |
| setType ($type) | |
| start () | |
| getXML () | |
| __buildHeader () | |
| __buildFooter () | |
|  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 | |
| $ilias | |
| $xml | |
| $roles | |
| $role_type | |
| $user_id = 0 | |
|  Data Fields inherited from ilXmlWriter | |
| $xmlStr | |
| $version | |
| $outEnc | |
| $inEnc | |
| $dtdDef = "" | |
| $stSheet = "" | |
| $genCmt = "Generated by ILIAS XmlWriter" | |
XML writer class.
Class to simplify manual writing of xml documents. It only supports writing xml sequentially, because the xml document is saved in a string with no additional structure information. The author is responsible for well-formedness and validity of the xml document.
Definition at line 19 of file class.ilSoapRoleObjectXMLWriter.php.
| ilSoapRoleObjectXMLWriter::__buildFooter | ( | ) | 
Definition at line 133 of file class.ilSoapRoleObjectXMLWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSoapRoleObjectXMLWriter::__buildHeader | ( | ) | 
Definition at line 122 of file class.ilSoapRoleObjectXMLWriter.php.
References ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), ilXmlWriter\xmlSetGenCmt(), and ilXmlWriter\xmlStartTag().
Referenced by start().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSoapRoleObjectXMLWriter::getXML | ( | ) | 
Definition at line 116 of file class.ilSoapRoleObjectXMLWriter.php.
References ilXmlWriter\xmlDumpMem().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSoapRoleObjectXMLWriter::ilSoapRoleObjectXMLWriter | ( | ) | 
constructor
| string | xml version | 
| string | output encoding | 
| string | input encoding public | 
Definition at line 34 of file class.ilSoapRoleObjectXMLWriter.php.
References $ilias, and ilXmlWriter\ilXmlWriter().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSoapRoleObjectXMLWriter::setObjects | ( | & | $roles | ) | 
Definition at line 45 of file class.ilSoapRoleObjectXMLWriter.php.
References $roles.
| ilSoapRoleObjectXMLWriter::setType | ( | $type | ) | 
Definition at line 50 of file class.ilSoapRoleObjectXMLWriter.php.
| ilSoapRoleObjectXMLWriter::start | ( | ) | 
Definition at line 56 of file class.ilSoapRoleObjectXMLWriter.php.
References $ref_id, __buildFooter(), __buildHeader(), ilUtil\__extractRefId(), ilObjRole\_getTranslation(), ilObjectXMLWriter\appendPathToObject(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSoapRoleObjectXMLWriter::$ilias | 
Definition at line 21 of file class.ilSoapRoleObjectXMLWriter.php.
Referenced by ilSoapRoleObjectXMLWriter().
| ilSoapRoleObjectXMLWriter::$role_type | 
Definition at line 24 of file class.ilSoapRoleObjectXMLWriter.php.
| ilSoapRoleObjectXMLWriter::$roles | 
Definition at line 23 of file class.ilSoapRoleObjectXMLWriter.php.
Referenced by setObjects().
| ilSoapRoleObjectXMLWriter::$user_id = 0 | 
Definition at line 25 of file class.ilSoapRoleObjectXMLWriter.php.
| ilSoapRoleObjectXMLWriter::$xml | 
Definition at line 22 of file class.ilSoapRoleObjectXMLWriter.php.