19 declare(strict_types=1);
33 private int $mode = self::MODE_SOAP;
45 public function setMode(
int $a_mode): void
47 $this->mode = $a_mode;
60 public function export(
bool $a_with_header =
true): void
62 if ($this->
getMode() === self::MODE_EXPORT) {
ilContainerReference $ref
export(bool $a_with_header=true)
xmlSetGenCmt(string $genCmt)
Sets generated comment.
xmlEndTag(string $tag)
Writes an endtag.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
xmlHeader()
Writes xml header.
__construct(?ilContainerReference $ref=null)
__construct(Container $dic, ilPlugin $plugin)
xmlStartTag(string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true)
Writes a starttag.
xmlElement(string $tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
xmlDumpMem(bool $format=true)
Returns xml document from memory.
Class for container reference export.