ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 | |
$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().
|
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().
ilContainerXmlParser::getMapping | ( | ) |
Get ilImportMapping object.
Definition at line 46 of file class.ilContainerXmlParser.php.
References $mapping.
Referenced by createObject(), and initItem().
|
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(), parseTiming(), and string.
Referenced by parse().
ilContainerXmlParser::parse | ( | $a_root_id | ) |
Definition at line 51 of file class.ilContainerXmlParser.php.
References initItem().
|
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, string, and ilTimeZone\UTC.
Referenced by initItem().
|
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().