|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Folder export. More...
Inheritance diagram for ilCourseExporter:
Collaboration diagram for ilCourseExporter:Public Member Functions | |
| __construct () | |
| init () | |
| 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... | |
| getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) | |
| getValidSchemaVersions (string $a_entity) | |
| Returns schema versions that the component can export to. More... | |
Public Member Functions inherited from ilXmlExporter | |
| __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) | |
Data Fields | |
| const string | ENTITY_OBJECTIVE = 'objectives' |
| const string | ENTITY_MAIN = 'crs' |
Protected Member Functions | |
| getActiveAdvMDRecords (int $a_id) | |
Protected Attributes | |
| ilXmlWriter | $writer |
| ilLogger | $logger |
Protected Attributes inherited from ilXmlExporter | |
| ilExport | $exp |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlExporter | |
| static | lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="") |
Folder export.
Definition at line 25 of file class.ilCourseExporter.php.
| ilCourseExporter::__construct | ( | ) |
Reimplemented from ilXmlExporter.
Definition at line 33 of file class.ilCourseExporter.php.
References $DIC, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
protected |
Definition at line 62 of file class.ilCourseExporter.php.
References ilAdvancedMDRecord\_getActivatedRecordsByObjectType().
Referenced by getXmlExportTailDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseExporter::getValidSchemaVersions | ( | string | $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. Example: return array ( "4.1.0" => array( "namespace" => "http://www.ilias.de/Services/MetaData/md/4_1", "xsd_file" => "ilias_md_4_1.xsd", "min" => "4.1.0", "max" => "") );
Reimplemented from ilXmlExporter.
Definition at line 178 of file class.ilCourseExporter.php.
| ilCourseExporter::getXmlExportHeadDependencies | ( | string | $a_entity, |
| string | $a_target_release, | ||
| array | $a_ids | ||
| ) |
Get head dependencies.
Reimplemented from ilXmlExporter.
Definition at line 46 of file class.ilCourseExporter.php.
| ilCourseExporter::getXmlExportTailDependencies | ( | string | $a_entity, |
| string | $a_target_release, | ||
| array | $a_ids | ||
| ) |
Get tail dependencies.
Reimplemented from ilXmlExporter.
Definition at line 84 of file class.ilCourseExporter.php.
References $id, ilCourseObjective\_getObjectiveIds(), ENTITY_OBJECTIVE, getActiveAdvMDRecords(), and ilPageObject\getAllPages().
Here is the call graph for this function:| ilCourseExporter::getXmlRepresentation | ( | string | $a_entity, |
| string | $a_schema_version, | ||
| string | $a_id | ||
| ) |
Reimplemented from ilXmlExporter.
Definition at line 147 of file class.ilCourseExporter.php.
References $writer, ilObject\_getAllReferences(), ilObjectFactory\getInstanceByRefId(), ILIAS\Repository\logger(), and ilCourseXMLWriter\MODE_EXPORT.
Here is the call graph for this function:| ilCourseExporter::init | ( | ) |
Reimplemented from ilXmlExporter.
Definition at line 39 of file class.ilCourseExporter.php.
|
protected |
Definition at line 31 of file class.ilCourseExporter.php.
|
protected |
Definition at line 30 of file class.ilCourseExporter.php.
Referenced by getXmlRepresentation().
| const string ilCourseExporter::ENTITY_MAIN = 'crs' |
Definition at line 28 of file class.ilCourseExporter.php.
| const string ilCourseExporter::ENTITY_OBJECTIVE = 'objectives' |
Definition at line 27 of file class.ilCourseExporter.php.
Referenced by getXmlExportTailDependencies().