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...
|
|
| 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.ilFolderExporter.php.
◆ __construct()
ilFolderExporter::__construct |
( |
| ) |
|
◆ getValidSchemaVersions()
ilFolderExporter::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 101 of file class.ilFolderExporter.php.
105 "namespace" =>
"http://www.ilias.de/Modules/Folder/fold/4_1",
106 "xsd_file" =>
"ilias_fold_4_1.xsd",
107 "uses_dataset" =>
false,
◆ getXmlExportHeadDependencies()
ilFolderExporter::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 45 of file class.ilFolderExporter.php.
References ilExportOptions\getInstance(), and ilExportOptions\KEY_ROOT.
47 include_once
'./Services/Export/classes/class.ilExportOptions.php';
50 $obj_id = end($a_ids);
60 'component' =>
'Services/Container',
static getInstance()
Get singelton instance.
◆ getXmlRepresentation()
ilFolderExporter::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 77 of file class.ilFolderExporter.php.
References $GLOBALS.
82 $this->writer->setObjId($a_id);
83 $this->writer->write();
84 return $this->writer->xmlDumpMem(
false);
87 catch(UnexpectedValueException $e)
89 $GLOBALS[
'ilLog']->write(
"Caught error: ".$e->getMessage());
◆ init()
ilFolderExporter::init |
( |
| ) |
|
◆ $writer
ilFolderExporter::$writer = null |
|
private |
The documentation for this class was generated from the following file: