|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class for container reference export. More...
Inheritance diagram for ilContainerReferenceXmlWriter:
Collaboration diagram for ilContainerReferenceXmlWriter:Public Member Functions | |
| __construct (?ilContainerReference $ref=null) | |
| setMode (int $a_mode) | |
| getMode () | |
| getReference () | |
| export (bool $a_with_header=true) | |
| getXml () | |
Public Member Functions inherited from ilXmlWriter | |
| __construct (string $version="1.0", string $outEnc="utf-8", string $inEnc="utf-8") | |
| xmlSetDtdDef (string $dtdDef) | |
| Sets dtd definition. More... | |
| xmlSetGenCmt (string $genCmt) | |
| Sets generated comment. More... | |
| xmlFormatData (string $data) | |
| Indents text for better reading. More... | |
| xmlHeader () | |
| Writes xml header. More... | |
| xmlStartTag (string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true) | |
| Writes a starttag. More... | |
| xmlEndTag (string $tag) | |
| Writes an endtag. More... | |
| xmlData (string $data, bool $encode=true, bool $escape=true) | |
| Writes data. More... | |
| xmlElement (string $tag, $attrs=null, $data=null, $encode=true, $escape=true) | |
| Writes a basic element (no children, just textual content) More... | |
| xmlDumpFile (string $file, bool $format=true) | |
| Dumps xml document from memory into a file. More... | |
| xmlDumpMem (bool $format=true) | |
| Returns xml document from memory. More... | |
| appendXML (string $a_str) | |
| append xml string to document More... | |
| xmlClear () | |
| clears xmlStr More... | |
Data Fields | |
| const | MODE_SOAP = 1 |
| const | MODE_EXPORT = 2 |
Protected Member Functions | |
| buildHeader () | |
| buildTarget () | |
| buildTitle () | |
| buildReference () | |
| buildFooter () | |
Protected Attributes | |
| ilSetting | $settings |
Private Attributes | |
| int | $mode = self::MODE_SOAP |
| ilContainerReference | $ref |
Class for container reference export.
Definition at line 26 of file class.ilContainerReferenceXmlWriter.php.
| ilContainerReferenceXmlWriter::__construct | ( | ?ilContainerReference | $ref = null | ) |
Definition at line 36 of file class.ilContainerReferenceXmlWriter.php.
References $DIC, $ref, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
protected |
Definition at line 110 of file class.ilContainerReferenceXmlWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by export(), and ilCourseReferenceXmlWriter\export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented in ilCategoryReferenceXmlWriter, ilCourseReferenceXmlWriter, and ilGroupReferenceXmlWriter.
Definition at line 78 of file class.ilContainerReferenceXmlWriter.php.
References ILIAS\Survey\Mode\getId(), getReference(), ILIAS\Repository\settings(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlSetGenCmt().
Referenced by export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 105 of file class.ilContainerReferenceXmlWriter.php.
References ilXmlWriter\xmlStartTag().
Referenced by export(), and ilCourseReferenceXmlWriter\export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 84 of file class.ilContainerReferenceXmlWriter.php.
References getReference(), and ilXmlWriter\xmlElement().
Referenced by export(), and ilCourseReferenceXmlWriter\export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 89 of file class.ilContainerReferenceXmlWriter.php.
References getReference(), ilContainerReference\TITLE_TYPE_CUSTOM, and ilXmlWriter\xmlElement().
Referenced by export(), and ilCourseReferenceXmlWriter\export().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerReferenceXmlWriter::export | ( | bool | $a_with_header = true | ) |
Reimplemented in ilCourseReferenceXmlWriter.
Definition at line 60 of file class.ilContainerReferenceXmlWriter.php.
References buildFooter(), buildHeader(), buildReference(), buildTarget(), buildTitle(), and getMode().
Here is the call graph for this function:| ilContainerReferenceXmlWriter::getMode | ( | ) |
Definition at line 50 of file class.ilContainerReferenceXmlWriter.php.
References $mode.
Referenced by export(), and ilCourseReferenceXmlWriter\export().
Here is the caller graph for this function:| ilContainerReferenceXmlWriter::getReference | ( | ) |
Definition at line 55 of file class.ilContainerReferenceXmlWriter.php.
References $ref.
Referenced by ilCourseReferenceXmlWriter\buildCourseSettings(), ilCategoryReferenceXmlWriter\buildHeader(), buildHeader(), ilCourseReferenceXmlWriter\buildHeader(), ilGroupReferenceXmlWriter\buildHeader(), buildTarget(), and buildTitle().
Here is the caller graph for this function:| ilContainerReferenceXmlWriter::getXml | ( | ) |
Definition at line 73 of file class.ilContainerReferenceXmlWriter.php.
References ilXmlWriter\xmlDumpMem().
Here is the call graph for this function:| ilContainerReferenceXmlWriter::setMode | ( | int | $a_mode | ) |
Definition at line 45 of file class.ilContainerReferenceXmlWriter.php.
|
private |
Definition at line 33 of file class.ilContainerReferenceXmlWriter.php.
Referenced by getMode().
|
private |
Definition at line 34 of file class.ilContainerReferenceXmlWriter.php.
Referenced by __construct(), ilCategoryReferenceXmlWriter\__construct(), ilCourseReferenceXmlWriter\__construct(), ilGroupReferenceXmlWriter\__construct(), and getReference().
|
protected |
Definition at line 31 of file class.ilContainerReferenceXmlWriter.php.
Referenced by ilCategoryReferenceXmlWriter\buildHeader().
| const ilContainerReferenceXmlWriter::MODE_EXPORT = 2 |
Definition at line 29 of file class.ilContainerReferenceXmlWriter.php.
Referenced by ilContainerReferenceExporter\getXmlRepresentation().
| const ilContainerReferenceXmlWriter::MODE_SOAP = 1 |
Definition at line 28 of file class.ilContainerReferenceXmlWriter.php.