|
| 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 .
'/5_4',
51 'xsd_file' =>
'ilias_' . self::OBJ_TYPE .
'_5_4.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().
64 foreach ($a_ids as $copaObjId) {
70 $copaPageObjIds = $copa->getPageObjIds();
71 foreach ($copaPageObjIds as $copaPageObjId) {
72 $pageObjectIds[] = self::OBJ_TYPE .
':' . $copaPageObjId;
75 $style_id = $this->content_style_domain
76 ->styleForObjId($copa->getId())
79 $styleIds[$style_id] = $style_id;
85 if (count($pageObjectIds) > 0) {
87 'component' =>
'Services/COPage',
89 'ids' => $pageObjectIds,
93 if (count($styleIds) > 0) {
95 'component' =>
'Services/Style',
97 'ids' => array_values($styleIds),
101 if (self::OBJ_TYPE === $a_entity) {
103 'component' =>
'Services/Object',
104 '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 |
( |
| ) |
|
Definition at line 28 of file class.ilContentPageExporter.php.
References $DIC.
33 $this->ds->setDSPrefix(
'ds');
34 $this->content_style_domain = $DIC->contentStyle()
Class ilContentPageDataSet.
◆ $content_style_domain
◆ $ds
The documentation for this class was generated from the following file: