ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Folder export. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
init () | |
Init export. More... | |
getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids) | |
Get head dependencies. More... | |
getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids) | |
getXmlRepresentation ($a_entity, $a_schema_version, $a_id) | |
Get xml. More... | |
getValidSchemaVersions ($a_entity) | |
Returns schema versions that the component can export to. More... | |
Public Member Functions inherited from ilXmlExporter | |
__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... | |
Data Fields | |
const | ENTITY_OBJECTIVE = 'objectives' |
const | ENTITY_MAIN = 'crs' |
Protected Attributes | |
$logger = null | |
Protected Attributes inherited from ilXmlExporter | |
$dir_relative | |
$dir_absolute | |
$exp | |
Private Attributes | |
$writer = null | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlExporter | |
static | lookupExportDirectory ($a_obj_type, $a_obj_id, $a_export_type='xml', $a_entity="") |
export directory lookup More... | |
ilCourseExporter::__construct | ( | ) |
Constructor.
Definition at line 32 of file class.ilCourseExporter.php.
References $GLOBALS.
ilCourseExporter::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.
Definition at line 152 of file class.ilCourseExporter.php.
References array.
ilCourseExporter::getXmlExportHeadDependencies | ( | $a_entity, | |
$a_target_release, | |||
$a_ids | |||
) |
Get head dependencies.
string | entity |
string | target release |
array | ids |
Definition at line 53 of file class.ilCourseExporter.php.
References array.
ilCourseExporter::getXmlExportTailDependencies | ( | $a_entity, | |
$a_target_release, | |||
$a_ids | |||
) |
Definition at line 70 of file class.ilCourseExporter.php.
References $id, ilCourseObjective\_getObjectiveIds(), array, and ilPageObject\getAllPages().
ilCourseExporter::getXmlRepresentation | ( | $a_entity, | |
$a_schema_version, | |||
$a_id | |||
) |
Get xml.
object | $a_entity | |
object | $a_schema_version | |
object | $a_id |
Definition at line 114 of file class.ilCourseExporter.php.
References $writer, ilObject\_getAllReferences(), ilObjectFactory\getInstanceByRefId(), and ilCourseXMLWriter\MODE_EXPORT.
ilCourseExporter::init | ( | ) |
|
protected |
Definition at line 27 of file class.ilCourseExporter.php.
|
private |
Definition at line 22 of file class.ilCourseExporter.php.
Referenced by getXmlRepresentation().
const ilCourseExporter::ENTITY_MAIN = 'crs' |
Definition at line 20 of file class.ilCourseExporter.php.
const ilCourseExporter::ENTITY_OBJECTIVE = 'objectives' |
Definition at line 19 of file class.ilCourseExporter.php.