ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilBiblFileReaderFactory.php
Go to the documentation of this file.
1 <?php
2 
9 {
10 
14  public function getByType($type, ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory)
15  {
16  switch ($type) {
18  return new ilBiblTexFileReader($entry_factory, $field_factory, $attribute_factory);
20  return new ilBiblRisFileReader($entry_factory, $field_factory, $attribute_factory);
21  default:
22  throw new ilException("bibliografic type not found");
23  }
24  }
25 }
$type
Interface ilBiblFileReaderFactoryInterface.
Class ilBiblRisFileReader.
Interface ilBiblEntryFactoryInterface.
Interface ilBiblFieldFactoryInterface.
getByType($type, ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory)
Interface ilBiblAttributeFactoryInterface.
Class ilBiblRisFileReader.
Class ilBiblFileReaderFactory.