|
| | init () |
| |
| | getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) |
| |
| | getValidSchemaVersions (string $a_entity) |
| |
| | getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) |
| |
| | __construct () |
| |
| | setExport (ilExport $a_exp) |
| |
| | getExport () |
| |
| | getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) |
| |
| | init () |
| |
| | setExportDirectories (string $a_dir_relative, string $a_dir_absolute) |
| |
| | getRelativeExportDirectory () |
| |
| | getAbsoluteExportDirectory () |
| |
| | getXmlExportHeadDependencies (string $a_entity, string $a_target_release, array $a_ids) |
| | Get head dependencies. More...
|
| |
| | getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) |
| | Get tail dependencies. More...
|
| |
| | getValidSchemaVersions (string $a_entity) |
| | Returns schema versions that the component can export to. More...
|
| |
| | determineSchemaVersion (string $a_entity, string $a_target_release) |
| |
◆ getValidSchemaVersions()
| ilContentPageExporter::getValidSchemaVersions |
( |
string |
$a_entity | ) |
|
Definition at line 46 of file class.ilContentPageExporter.php.
50 'namespace' =>
'http://www.ilias.de/Modules/ContentPage/' . self::OBJ_TYPE .
'/9',
51 'xsd_file' =>
'ilias_' . self::OBJ_TYPE .
'_9.xsd',
52 'uses_dataset' =>
true,
◆ getXmlExportTailDependencies()
| ilContentPageExporter::getXmlExportTailDependencies |
( |
string |
$a_entity, |
|
|
string |
$a_target_release, |
|
|
array |
$a_ids |
|
) |
| |
Definition at line 59 of file class.ilContentPageExporter.php.
References ilObjectFactory\getInstanceByObjId().
65 foreach ($a_ids as $copaObjId) {
71 $metadataIds[] = $copaObjId .
':0:' . self::OBJ_TYPE;
73 $copaPageObjIds = $copa->getPageObjIds();
74 foreach ($copaPageObjIds as $copaPageObjId) {
75 $pageObjectIds[] = self::OBJ_TYPE .
':' . $copaPageObjId;
78 $style_id = $this->content_style_domain
79 ->styleForObjId($copa->getId())
82 $styleIds[$style_id] = $style_id;
88 if (count($pageObjectIds) > 0) {
90 'component' =>
'Services/COPage',
92 'ids' => $pageObjectIds,
96 if (count($metadataIds) > 0) {
98 'component' =>
'Services/MetaData',
100 'ids' => $metadataIds,
104 if (count($styleIds) > 0) {
106 'component' =>
'Services/Style',
108 'ids' => array_values($styleIds),
112 if (self::OBJ_TYPE === $a_entity) {
114 'component' =>
'Services/Object',
115 'entity' =>
'common',
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
◆ getXmlRepresentation()
| ilContentPageExporter::getXmlRepresentation |
( |
string |
$a_entity, |
|
|
string |
$a_schema_version, |
|
|
string |
$a_id |
|
) |
| |
◆ init()
| ilContentPageExporter::init |
( |
| ) |
|
◆ $content_style_domain
◆ $ds
The documentation for this class was generated from the following file: