13 public static function getExporterClass($a_type)
18 global $objDefinition;
20 if($objDefinition->isPlugin($a_type))
22 $classname =
'il'.$objDefinition->getClassName($a_type).
'Exporter';
23 $location = $objDefinition->getLocation($a_type);
24 if(include_once
$location.
'/class.'.$classname.
'.php')
31 $comp = $objDefinition->getComponentForType($a_type);
32 $c = explode(
"/", $comp);
33 $class =
"il".$c[1].
"Exporter";
39 if(include_once
"./".$comp.
"/classes/class.".$class.
".php")
45 throw InvalidArgumentException(
'Invalid exporter type given');