*/ class Import extends tao_actions_Import { /** * @inheritDoc */ public function getAvailableImportHandlers() { $returnValue = parent::getAvailableImportHandlers(); foreach (array_keys($returnValue) as $key) { switch (get_class($returnValue[$key])) { case tao_models_classes_import_CsvImporter::class: $importer = new CsvImporter(); $importer->setValidators($this->getValidators()); $returnValue[$key] = $importer; break; case tao_models_classes_import_RdfImporter::class: $importer = new RdfImporter(); $returnValue[$key] = $importer; break; } } return $returnValue; } }