ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilindividualAssessmentExporter Class Reference

Manual Assessment exporter class. More...

+ Inheritance diagram for ilindividualAssessmentExporter:
+ Collaboration diagram for ilindividualAssessmentExporter:

Public Member Functions

 init ()
 initialize the exporter More...
 
 getXmlRepresentation ($a_entity, $a_schema_version, $a_id)
 
 getValidSchemaVersions ($a_entity)
 
- 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...
 

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...
 
- Protected Attributes inherited from ilXmlExporter
 $dir_relative
 
 $dir_absolute
 
 $exp
 

Detailed Description

Member Function Documentation

◆ getValidSchemaVersions()

ilindividualAssessmentExporter::getValidSchemaVersions (   $a_entity)

Definition at line 34 of file class.ilIndividualAssessmentExporter.php.

References array.

34  {
35  return array (
36  "5.2.0" => array(
37  "namespace" => "http://www.ilias.de/Modules/IndividualAssessment/iass/5_2",
38  "xsd_file" => "ilias_exc_5_2.xsd",
39  "uses_dataset" => true,
40  "min" => "5.2.0",
41  "max" => "")
42  );
43  }
Create styles array
The data for the language used.

◆ getXmlRepresentation()

ilindividualAssessmentExporter::getXmlRepresentation (   $a_entity,
  $a_schema_version,
  $a_id 
)

Definition at line 24 of file class.ilIndividualAssessmentExporter.php.

References ilXmlExporter\getAbsoluteExportDirectory(), and ilUtil\makeDirParents().

24  {
26  $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
27 
28  return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id, '', true, true);
29  }
static makeDirParents($a_dir)
Create a new directory and all parent directories.
getAbsoluteExportDirectory()
Get absolute export directory.
+ Here is the call graph for this function:

◆ init()

ilindividualAssessmentExporter::init ( )

initialize the exporter

Definition at line 16 of file class.ilIndividualAssessmentExporter.php.

References $DIC.

16  {
17  global $DIC;
18  $this->ds = new ilIndividualAssessmentDataSet();
19  }
Individual Assessment dataset class.
global $DIC

The documentation for this class was generated from the following file: