ILIAS
release_4-3 Revision
|
XML parser for container structure. More...
Public Member Functions | |
__construct (ilImportMapping $mapping, $xml= '') | |
Constructor. | |
getMapping () | |
Get ilImportMapping object. | |
parse () |
Protected Member Functions | |
initItem ($item, $a_parent_node) | |
Init Item. | |
parseTiming ($a_ref_id, $a_parent_id, $timing) | |
Parse timing info. | |
createObject ($ref_id, $obj_id, $type, $title, $parent_node) | |
Create the objects. |
Private Attributes | |
$source = 0 | |
$mapping = null | |
$xml = '' | |
$sxml = null |
XML parser for container structure.
Definition at line 14 of file class.ilContainerXmlParser.php.
ilContainerXmlParser::__construct | ( | ilImportMapping | $mapping, |
$xml = '' |
|||
) |
|
protected |
Create the objects.
object | $ref_id | |
object | $obj_id | |
object | $type | |
object | $title | |
object | $parent_node |
Definition at line 149 of file class.ilContainerXmlParser.php.
References $location, $ref_id, $title, ilObjectFactory\getInstanceByObjId(), and getMapping().
Referenced by initItem().
ilContainerXmlParser::getMapping | ( | ) |
Get ilImportMapping object.
Definition at line 36 of file class.ilContainerXmlParser.php.
References $mapping.
Referenced by createObject().
|
protected |
Init Item.
object | $item | |
object | $a_parent_node |
Definition at line 57 of file class.ilContainerXmlParser.php.
References $ref_id, $title, createObject(), and parseTiming().
Referenced by parse().
ilContainerXmlParser::parse | ( | ) |
Definition at line 41 of file class.ilContainerXmlParser.php.
References initItem().
|
protected |
Parse timing info.
object | $a_ref_id | |
object | $a_parent_id | |
object | $timing |
Definition at line 85 of file class.ilContainerXmlParser.php.
References IL_CAL_DATETIME, IL_CAL_UNIX, and ilTimeZone\UTC.
Referenced by initItem().
|
private |
Definition at line 17 of file class.ilContainerXmlParser.php.
Referenced by __construct(), and getMapping().
|
private |
Definition at line 16 of file class.ilContainerXmlParser.php.
|
private |
Definition at line 20 of file class.ilContainerXmlParser.php.
|
private |
Definition at line 18 of file class.ilContainerXmlParser.php.
Referenced by __construct().