|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 | |
| $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 34 of file class.ilContainerXmlParser.php.
References $mapping, $xml, and ilLoggerFactory\getLogger().
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 204 of file class.ilContainerXmlParser.php.
References $location, $new, $ref_id, $title, 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 46 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 68 of file class.ilContainerXmlParser.php.
References $ilSetting, $ref_id, $title, 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 51 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 140 of file class.ilContainerXmlParser.php.
References IL_CAL_DATETIME, IL_CAL_UNIX, and ilTimeZone\UTC.
Referenced by initItem().
Here is the caller graph for this function:
|
protected |
Definition at line 20 of file class.ilContainerXmlParser.php.
|
private |
Definition at line 23 of file class.ilContainerXmlParser.php.
Referenced by __construct(), and getMapping().
|
private |
Definition at line 27 of file class.ilContainerXmlParser.php.
|
private |
Definition at line 22 of file class.ilContainerXmlParser.php.
|
static |
Definition at line 29 of file class.ilContainerXmlParser.php.
Referenced by ilContainerImporter\finalProcessing().
|
private |
Definition at line 26 of file class.ilContainerXmlParser.php.
|
private |
Definition at line 24 of file class.ilContainerXmlParser.php.
Referenced by __construct().