Factory for importer/exporter implementers.
More...
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');
}
The documentation for this class was generated from the following file: