ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilImportExportFactory Class Reference

Factory for importer/exporter implementers. More...

+ Collaboration diagram for ilImportExportFactory:

Static Public Member Functions

static getExporterClass ($a_type)

Detailed Description

Factory for importer/exporter implementers.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e
Id:
class.ilImportExportFactory.php 34789 2012-05-24 09:40:57Z smeyer

Definition at line 10 of file class.ilImportExportFactory.php.

Member Function Documentation

static ilImportExportFactory::getExporterClass (   $a_type)
static

Definition at line 13 of file class.ilImportExportFactory.php.

Referenced by ilExport\_getExportDirectory().

{
global $objDefinition;
$comp = $objDefinition->getComponentForType($a_type);
$c = explode("/", $comp);
$class = "il".$c[1]."Exporter";
if(@include_once "./".$comp."/classes/class.".$class.".php")
{
return $class;
}
throw InvalidArgumentException('Invalid exporter type given');
}

+ Here is the caller graph for this function:


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