ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
XML parser for container structure. More...
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().
|
protected |
Create the objects.
object | $ref_id | |
object | $obj_id | |
object | $type | |
object | $title | |
object | $parent_node |
Definition at line 205 of file class.ilContainerXmlParser.php.
References $location, $new, $obj_definition, $title, $type, ilObjectFactory\getInstanceByObjId(), and getMapping().
Referenced by initItem().
ilContainerXmlParser::getMapping | ( | ) |
Get ilImportMapping object.
Definition at line 59 of file class.ilContainerXmlParser.php.
References $mapping.
Referenced by createObject(), and initItem().
|
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(), parseTiming(), and string.
Referenced by parse().
ilContainerXmlParser::parse | ( | $a_root_id | ) |
Definition at line 64 of file class.ilContainerXmlParser.php.
References initItem().
|
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, string, and ilTimeZone\UTC.
Referenced by initItem().
|
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().