ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
ilContainerExporter Class Reference

container structure export More...

+ Inheritance diagram for ilContainerExporter:
+ Collaboration diagram for ilContainerExporter:

Public Member Functions

 __construct ()
 Constructor. More...
 
 init ()
 Init export. More...
 
 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...
 
 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...
 

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

Detailed Description

container structure export

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 17 of file class.ilContainerExporter.php.

Constructor & Destructor Documentation

◆ __construct()

ilContainerExporter::__construct ( )

Constructor.

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

25  {
26 
27  }

Member Function Documentation

◆ getValidSchemaVersions()

ilContainerExporter::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.

Returns

Definition at line 59 of file class.ilContainerExporter.php.

60  {
61  return array (
62  "4.1.0" => array(
63  "namespace" => "http://www.ilias.de/Modules/Folder/fold/4_1",
64  "xsd_file" => "ilias_fold_4_1.xsd",
65  "uses_dataset" => false,
66  "min" => "4.1.0",
67  "max" => "")
68  );
69  }

◆ getXmlRepresentation()

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

Get xml.

Parameters
object$a_entity
object$a_schema_version
object$a_id
Returns

Definition at line 44 of file class.ilContainerExporter.php.

References $GLOBALS, $writer, and ilObject\_getAllReferences().

45  {
46  $GLOBALS['ilLog']->write(__METHOD__.': Received id = '.$a_id);
48  $writer->write();
49  return $writer->xmlDumpMem(false);
50  }
static _getAllReferences($a_id)
get all reference ids of object
$GLOBALS['ct_recipient']
XML writer for container structure.
+ Here is the call graph for this function:

◆ init()

ilContainerExporter::init ( )

Init export.

Returns

Definition at line 33 of file class.ilContainerExporter.php.

34  {
35  }

Field Documentation

◆ $writer

ilContainerExporter::$writer = null
private

Definition at line 19 of file class.ilContainerExporter.php.

Referenced by getXmlRepresentation().


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