ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.ilBiblFileReaderFactory.php
Go to the documentation of this file.
1
<?php
2
23
class
ilBiblFileReaderFactory
implements
ilBiblFileReaderFactoryInterface
24
{
25
public
function
getByType
(
26
int
$type
,
27
ilBiblEntryFactoryInterface
$entry_factory,
28
ilBiblFieldFactoryInterface
$field_factory,
29
ilBiblAttributeFactoryInterface
$attribute_factory
30
):
ilBiblFileReaderInterface
{
31
switch
($type) {
32
case
ilBiblTypeFactoryInterface::DATA_TYPE_BIBTEX
:
33
return
new
ilBiblTexFileReader
($entry_factory, $field_factory, $attribute_factory);
34
case
ilBiblTypeFactoryInterface::DATA_TYPE_RIS
:
35
return
new
ilBiblRisFileReader
($entry_factory, $field_factory, $attribute_factory);
36
default
:
37
throw
new
ilException
(
"bibliografic type not found"
);
38
}
39
}
40
}
ilBiblFileReaderInterface
Interface ilBiblFileReaderInterface.
Definition:
interface.ilBiblFileReaderInterface.php:25
ilException
ilBiblFileReaderFactory\getByType
getByType(int $type, ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory)
Definition:
class.ilBiblFileReaderFactory.php:25
$type
$type
Definition:
proxy_ylocal.php:10
ilBiblFileReaderFactoryInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilBiblFileReaderFactoryInterface.php:23
ilBiblTypeFactoryInterface\DATA_TYPE_RIS
const DATA_TYPE_RIS
Definition:
interface.ilBiblTypeFactoryInterface.php:26
ilBiblTexFileReader
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilBiblTexFileReader.php:23
ilBiblEntryFactoryInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilBiblEntryFactoryInterface.php:25
ilBiblFieldFactoryInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilBiblFieldFactoryInterface.php:24
ilBiblAttributeFactoryInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilBiblAttributeFactoryInterface.php:22
ilBiblRisFileReader
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilBiblRisFileReader.php:24
ilBiblFileReaderFactory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilBiblFileReaderFactory.php:23
ilBiblTypeFactoryInterface\DATA_TYPE_BIBTEX
const DATA_TYPE_BIBTEX
Definition:
interface.ilBiblTypeFactoryInterface.php:27
Modules
Bibliographic
classes
FileReader
class.ilBiblFileReaderFactory.php
Generated on Sun Aug 31 2025 22:01:12 for ILIAS by
1.8.13 (using
Doxyfile
)