19 declare(strict_types=1);
    23     public const TAG_LSO = 
'LearningSequence';
    61             "<!DOCTYPE learning sequence PUBLIC \"-//ILIAS//DTD LearningSequence//EN\" \"" .
    62             ILIAS_HTTP_PATH . 
"/xml/ilias_lso_9_0.dtd\">"    66             "Export of ILIAS LearningSequence " .
    67             $this->ls_object->getId() .
    77             'ref_id' => $this->ls_object->getRefId(),
    78             'members_gallery' => $this->ls_settings->getMembersGallery() ? 
'true' : 
'false'    82         $this->
xmlElement(self::TAG_TITLE, null, $this->ls_object->getTitle());
    83         if ($desc = $this->ls_object->getDescription()) {
    84             $this->
xmlElement(self::TAG_DESCRIPTION, null, $desc);
    93         $type = $this->lp_settings->getObjType();
    94         $mode = $this->lp_settings->getMode();
   103             $this->ls_object->getId(),
   106         if (!is_null($collection)) {
   107             $items = $collection->getItems();
   108             foreach ($items as $item) {
   109                 $this->
xmlElement(self::TAG_LPREFID, null, $item);
   119         $ls_items = $this->ls_object->getLSItems();
   120         foreach ($ls_items as $ls_item) {
   121             $post_condition = $ls_item->getPostCondition();
   127                     'ref_id' => $ls_item->getRefId()
   133                 [
'type' => $post_condition->getConditionOperator()],
   134                 $post_condition->getValue()
 
const TAG_CONTAINERSETTING
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
xmlSetGenCmt(string $genCmt)
Sets generated comment. 
 
xmlEndTag(string $tag)
Writes an endtag. 
 
static getInstanceByMode(int $a_obj_id, int $a_mode)
 
xmlSetDtdDef(string $dtdDef)
Sets dtd definition. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _lookupObjectId(int $ref_id)
 
static _exportContainerSettings(ilXmlWriter $a_xml, int $a_obj_id)
 
__construct(protected ilObjLearningSequence $ls_object, protected ilSetting $settings, protected ilLPObjSettings $lp_settings)
 
ilLearningSequenceSettings $ls_settings
 
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.