ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilBiblFileReaderFactory.php
Go to the documentation of this file.
1 <?php
2 
24 {
25  public function getByType(
26  int $type,
27  ilBiblEntryFactoryInterface $entry_factory,
28  ilBiblFieldFactoryInterface $field_factory,
29  ilBiblAttributeFactoryInterface $attribute_factory
31  switch ($type) {
33  return new ilBiblTexFileReader($entry_factory, $field_factory, $attribute_factory);
35  return new ilBiblRisFileReader($entry_factory, $field_factory, $attribute_factory);
36  default:
37  throw new ilException("bibliografic type not found");
38  }
39  }
40 }
Interface ilBiblFileReaderInterface.
getByType(int $type, ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory)
$type
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...