|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
XML parser for container structure. More...
Collaboration diagram for ilContainerXmlParser:Public Member Functions | |
| __construct (ilImportMapping $mapping, $xml='') | |
| Constructor. More... | |
| getMapping () | |
| Get ilImportMapping object. More... | |
| parse ($a_root_id) | |
Static Public Attributes | |
| static | $style_map = array() |
Protected Member Functions | |
| initItem ($item, $a_parent_node) | |
| Init Item. More... | |
| parseTiming ($a_ref_id, $a_parent_id, $timing) | |
| Parse timing info. More... | |
| createObject ($ref_id, $obj_id, $type, $title, $parent_node) | |
| Create the objects. More... | |
Protected Attributes | |
| $settings | |
| $obj_definition | |
| $cont_log | |
Private Attributes | |
| $source = 0 | |
| $mapping = null | |
| $xml = '' | |
| $sxml = null | |
| $root_id = 0 | |
XML parser for container structure.
Definition at line 14 of file class.ilContainerXmlParser.php.
| ilContainerXmlParser::__construct | ( | ilImportMapping | $mapping, |
$xml = '' |
|||
| ) |
Constructor.
Definition at line 43 of file class.ilContainerXmlParser.php.
References $DIC, $mapping, $xml, ilLoggerFactory\getLogger(), and settings().
Here is the call graph for this function:
|
protected |
Create the objects.
| object | $ref_id | |
| object | $obj_id | |
| object | $type | |
| object | $title | |
| object | $parent_node |
Definition at line 203 of file class.ilContainerXmlParser.php.
References $location, $obj_definition, $title, $type, ilObjectFactory\getInstanceByObjId(), and getMapping().
Referenced by initItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerXmlParser::getMapping | ( | ) |
Get ilImportMapping object.
Definition at line 59 of file class.ilContainerXmlParser.php.
References $mapping.
Referenced by createObject(), and initItem().
Here is the caller graph for this function:
|
protected |
Init Item.
| object | $item | |
| object | $a_parent_node |
Definition at line 80 of file class.ilContainerXmlParser.php.
References $ilSetting, $settings, $title, $type, ilObject\_lookupObjId(), createObject(), getMapping(), initItem(), and parseTiming().
Referenced by initItem(), and parse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerXmlParser::parse | ( | $a_root_id | ) |
Definition at line 64 of file class.ilContainerXmlParser.php.
References initItem().
Here is the call graph for this function:
|
protected |
Parse timing info.
| object | $a_ref_id | |
| object | $a_parent_id | |
| object | $timing |
Definition at line 144 of file class.ilContainerXmlParser.php.
References $type, IL_CAL_DATETIME, IL_CAL_UNIX, and ilTimeZone\UTC.
Referenced by initItem().
Here is the caller graph for this function:
|
protected |
Definition at line 29 of file class.ilContainerXmlParser.php.
|
private |
Definition at line 32 of file class.ilContainerXmlParser.php.
Referenced by __construct(), and getMapping().
|
protected |
Definition at line 24 of file class.ilContainerXmlParser.php.
Referenced by createObject().
|
private |
Definition at line 36 of file class.ilContainerXmlParser.php.
|
protected |
Definition at line 19 of file class.ilContainerXmlParser.php.
Referenced by initItem().
|
private |
Definition at line 31 of file class.ilContainerXmlParser.php.
|
static |
Definition at line 38 of file class.ilContainerXmlParser.php.
Referenced by ilContainerImporter\finalProcessing().
|
private |
Definition at line 35 of file class.ilContainerXmlParser.php.
|
private |
Definition at line 33 of file class.ilContainerXmlParser.php.
Referenced by __construct().