|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 113 of file class.ilContainerReferenceXmlWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by ilCourseReferenceXmlWriter\export(), and 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 $ilSetting, $settings, ILIAS\Survey\Mode\getId(), getReference(), ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), 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 108 of file class.ilContainerReferenceXmlWriter.php.
References ilXmlWriter\xmlStartTag().
Referenced by ilCourseReferenceXmlWriter\export(), and export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 87 of file class.ilContainerReferenceXmlWriter.php.
References getReference(), and ilXmlWriter\xmlElement().
Referenced by ilCourseReferenceXmlWriter\export(), and export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 92 of file class.ilContainerReferenceXmlWriter.php.
References getReference(), ilContainerReference\TITLE_TYPE_CUSTOM, and ilXmlWriter\xmlElement().
Referenced by ilCourseReferenceXmlWriter\export(), and 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 ilCourseReferenceXmlWriter\export(), and 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(), ilCourseReferenceXmlWriter\buildHeader(), ilGroupReferenceXmlWriter\buildHeader(), 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(), and 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.