ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
class.ilXmlImporter.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
11abstract class ilXmlImporter
12{
13 protected $skip_entities = array();
14
21 function __construct()
22 {
23
24 }
25
29 function init()
30 {
31 }
32
38 function setInstallId($a_val)
39 {
40 $this->install_id = $a_val;
41 }
42
48 function getInstallId()
49 {
50 return $this->install_id;
51 }
52
58 function setInstallUrl($a_val)
59 {
60 $this->install_url = $a_val;
61 }
62
68 function getInstallUrl()
69 {
70 return $this->install_url;
71 }
72
78 function setSchemaVersion($a_val)
79 {
80 $this->schema_version = $a_val;
81 }
82
89 {
90 return $this->schema_version;
91 }
92
98 function setImportDirectory($a_val)
99 {
100 $this->import_directory = $a_val;
101 }
102
109 {
110 return $this->import_directory;
111 }
112
118 function setSkipEntities($a_val)
119 {
120 $this->skip_entities = $a_val;
121 }
122
129 {
131 }
132
141 abstract public function importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping);
142
148 function finalProcessing($a_mapping)
149 {
150
151 }
152}
153?>
Xml importer class.
getSchemaVersion()
Get schema version.
setSchemaVersion($a_val)
Set schema version.
getInstallUrl()
Get installation url.
setInstallId($a_val)
Set installation id.
__construct()
Constructor.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import xml representation.
getInstallId()
Get installation id.
getImportDirectory()
Get import directory.
setSkipEntities($a_val)
Set skip entities.
setImportDirectory($a_val)
Set import directory.
getSkipEntities()
Get skip entities.
finalProcessing($a_mapping)
Final processing.
setInstallUrl($a_val)
Set installation url.