ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilBibliographicExporter Class Reference

Exporter class for Bibliographic class. More...

+ Inheritance diagram for ilBibliographicExporter:
+ Collaboration diagram for ilBibliographicExporter:

Public Member Functions

 init ()
 getValidSchemaVersions ($a_entity)
 getXmlRepresentation ($a_entity, $a_schema_version, $a_id)
 Get xml representation.
- Public Member Functions inherited from ilXmlExporter
 __construct ()
 Constructor.
 setExportDirectories ($a_dir_relative, $a_dir_absolute)
 Export directories.
 getRelativeExportDirectory ()
 Get relative export directory.
 getAbsoluteExportDirectory ()
 Get absolute export directory.
 getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids)
 Get head dependencies.
 getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids)
 Get tail dependencies.
 determineSchemaVersion ($a_entity, $a_target_release)
 Determine schema version.

Protected Attributes

 $ds
 $db
- Protected Attributes inherited from ilXmlExporter
 $dir_relative
 $dir_absolute

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

Detailed Description

Exporter class for Bibliographic class.

Author
Theodor Truffer tt@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Martin Studer ms@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
Id:

Definition at line 15 of file class.ilBibliographicExporter.php.

Member Function Documentation

ilBibliographicExporter::getValidSchemaVersions (   $a_entity)
Parameters
string$a_entity
Returns
array

Reimplemented from ilXmlExporter.

Definition at line 40 of file class.ilBibliographicExporter.php.

{
return array(
'4.5.0' => array(
'namespace' => 'http://www.ilias.de/Modules/DataCollection/dcl/4_5',
'xsd_file" => "ilias_dcl_4_5.xsd',
'uses_dataset' => true,
'min' => '4.5.0',
'max' => ''
)
);
}
ilBibliographicExporter::getXmlRepresentation (   $a_entity,
  $a_schema_version,
  $a_id 
)

Get xml representation.

Parameters
stringentity
stringschema version
stringid
Returns
string xml string

Reimplemented from ilXmlExporter.

Definition at line 53 of file class.ilBibliographicExporter.php.

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

{
$this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
$this->ds->exportLibraryFile($a_id);
return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id, '', true, true);
}

+ Here is the call graph for this function:

ilBibliographicExporter::init ( )

Reimplemented from ilXmlExporter.

Definition at line 27 of file class.ilBibliographicExporter.php.

References $ilDB.

{
global $ilDB;
$this->ds = new ilBibliographicDataSet();
$this->ds->setDSPrefix('ds');
$this->db = $ilDB;
}

Field Documentation

ilBibliographicExporter::$db
protected

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

ilBibliographicExporter::$ds
protected

Definition at line 20 of file class.ilBibliographicExporter.php.


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