Folder export.
More...
|
| __construct () |
| Constructor. More...
|
|
| init () |
| Init export. More...
|
|
| getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids) |
| Get head dependencies. More...
|
|
| getXmlRepresentation ($a_entity, $a_schema_version, $a_id) |
| Get xml. More...
|
|
| getValidSchemaVersions ($a_entity) |
| Returns schema versions that the component can export to. More...
|
|
| __construct () |
| Constructor. More...
|
|
| setExport (ilExport $a_exp) |
| Set export object. More...
|
|
| getExport () |
| Get export. More...
|
|
| getXmlRepresentation ($a_entity, $a_schema_version, $a_id) |
| Get xml representation. More...
|
|
| init () |
|
| setExportDirectories ($a_dir_relative, $a_dir_absolute) |
| Export directories. More...
|
|
| getRelativeExportDirectory () |
| Get relative export directory. More...
|
|
| getAbsoluteExportDirectory () |
| Get absolute export directory. More...
|
|
| getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids) |
| Get head dependencies. More...
|
|
| getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids) |
| Get tail dependencies. More...
|
|
| getValidSchemaVersions ($a_entity) |
| Returns schema versions that the component can export to. More...
|
|
| determineSchemaVersion ($a_entity, $a_target_release) |
| Determine schema version. More...
|
|
Folder export.
- Author
- Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
- Version
- $Id$
Definition at line 17 of file class.ilGroupExporter.php.
◆ __construct()
ilGroupExporter::__construct |
( |
| ) |
|
◆ getValidSchemaVersions()
ilGroupExporter::getValidSchemaVersions |
( |
|
$a_entity | ) |
|
Returns schema versions that the component can export to.
ILIAS chooses the first one, that has min/max constraints which fit to the target release. Please put the newest on top.
- Returns
Definition at line 88 of file class.ilGroupExporter.php.
92 "namespace" =>
"http://www.ilias.de/Modules/Group/grp/4_1",
93 "xsd_file" =>
"ilias_grp_4_1.xsd",
94 "uses_dataset" =>
false,
98 "namespace" =>
"http://www.ilias.de/Modules/Group/grp/5_0",
99 "xsd_file" =>
"ilias_grp_5_0.xsd",
100 "uses_dataset" =>
false,
◆ getXmlExportHeadDependencies()
ilGroupExporter::getXmlExportHeadDependencies |
( |
|
$a_entity, |
|
|
|
$a_target_release, |
|
|
|
$a_ids |
|
) |
| |
Get head dependencies.
- Parameters
-
string | entity |
string | target release |
array | ids |
- Returns
- array array of array with keys "component", entity", "ids"
Definition at line 44 of file class.ilGroupExporter.php.
49 'component' =>
'Services/Container',
◆ getXmlRepresentation()
ilGroupExporter::getXmlRepresentation |
( |
|
$a_entity, |
|
|
|
$a_schema_version, |
|
|
|
$a_id |
|
) |
| |
Get xml.
- Parameters
-
object | $a_entity | |
object | $a_schema_version | |
object | $a_id | |
- Returns
Definition at line 64 of file class.ilGroupExporter.php.
References $GLOBALS, ilObject\_getAllReferences(), ilObjectFactory\getInstanceByRefId(), and ilGroupXMLWriter\MODE_EXPORT.
70 $GLOBALS[
'DIC']->logger()->grp()->warning($a_id .
' is not instance of type group');
74 include_once
'./Modules/Group/classes/class.ilGroupXMLWriter.php';
77 $this->writer->start();
78 return $this->writer->getXML();
static _getAllReferences($a_id)
get all reference ids of object
static getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
◆ init()
ilGroupExporter::init |
( |
| ) |
|
◆ $writer
ilGroupExporter::$writer = null |
|
private |
The documentation for this class was generated from the following file: