ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilBiblFileReaderFactory.php
Go to the documentation of this file.
1
<?php
2
8
class
ilBiblFileReaderFactory
implements
ilBiblFileReaderFactoryInterface
9
{
10
14
public
function
getByType
(
$type
,
ilBiblEntryFactoryInterface
$entry_factory,
ilBiblFieldFactoryInterface
$field_factory,
ilBiblAttributeFactoryInterface
$attribute_factory)
15
{
16
switch
(
$type
) {
17
case
ilBiblTypeFactoryInterface::DATA_TYPE_BIBTEX
:
18
return
new
ilBiblTexFileReader
($entry_factory, $field_factory, $attribute_factory);
19
case
ilBiblTypeFactoryInterface::DATA_TYPE_RIS
:
20
return
new
ilBiblRisFileReader
($entry_factory, $field_factory, $attribute_factory);
21
default
:
22
throw
new
ilException
(
"bibliografic type not found"
);
23
}
24
}
25
}
ilException
$type
$type
Definition:
proxy_ylocal.php:10
ilBiblFileReaderFactoryInterface
Interface ilBiblFileReaderFactoryInterface.
Definition:
interface.ilBiblFileReaderFactoryInterface.php:8
ilBiblTypeFactoryInterface\DATA_TYPE_RIS
const DATA_TYPE_RIS
Definition:
interface.ilBiblTypeFactoryInterface.php:10
ilBiblTexFileReader
Class ilBiblRisFileReader.
Definition:
class.ilBiblTexFileReader.php:8
ilBiblEntryFactoryInterface
Interface ilBiblEntryFactoryInterface.
Definition:
interface.ilBiblEntryFactoryInterface.php:8
ilBiblFieldFactoryInterface
Interface ilBiblFieldFactoryInterface.
Definition:
interface.ilBiblFieldFactoryInterface.php:8
ilBiblFileReaderFactory\getByType
getByType($type, ilBiblEntryFactoryInterface $entry_factory, ilBiblFieldFactoryInterface $field_factory, ilBiblAttributeFactoryInterface $attribute_factory)
Definition:
class.ilBiblFileReaderFactory.php:14
ilBiblAttributeFactoryInterface
Interface ilBiblAttributeFactoryInterface.
Definition:
interface.ilBiblAttributeFactoryInterface.php:8
ilBiblRisFileReader
Class ilBiblRisFileReader.
Definition:
class.ilBiblRisFileReader.php:8
ilBiblFileReaderFactory
Class ilBiblFileReaderFactory.
Definition:
class.ilBiblFileReaderFactory.php:8
ilBiblTypeFactoryInterface\DATA_TYPE_BIBTEX
const DATA_TYPE_BIBTEX
Definition:
interface.ilBiblTypeFactoryInterface.php:11
Modules
Bibliographic
classes
FileReader
class.ilBiblFileReaderFactory.php
Generated on Sat Apr 5 2025 20:00:56 for ILIAS by
1.8.13 (using
Doxyfile
)