ILIAS  release_7 Revision v7.30-3-g800a261c036
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}
An exception for terminatinating execution or to throw for unit testing.
Class ilBiblFileReaderFactory.
getByType($type, ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory)
@inheritDoc
Class ilBiblRisFileReader.
Class ilBiblRisFileReader.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilBiblAttributeFactoryInterface.
Interface ilBiblEntryFactoryInterface.
Interface ilBiblFieldFactoryInterface.
Interface ilBiblFileReaderFactoryInterface.
$type