ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 return match ($type) {
32 ilBiblTypeFactoryInterface::DATA_TYPE_BIBTEX => new ilBiblTexFileReader($entry_factory, $field_factory, $attribute_factory),
33 ilBiblTypeFactoryInterface::DATA_TYPE_RIS => new ilBiblRisFileReader($entry_factory, $field_factory, $attribute_factory),
34 default => throw new ilException("bibliografic type not found"),
35 };
36 }
37}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getByType(int $type, ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory)
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...
Base class for ILIAS Exception handling.
return['delivery_method'=> 'php',]
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...
Interface ilBiblEntryFactoryInterface.
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...
Interface ilBiblFileReaderInterface.