ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
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.ilObjectTileImageFactory.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11
class
ilObjectTileImageFactory
implements
ilObjectTileImageFactoryInterface
12
{
16
protected
$service
;
17
22
public
function
__construct
(
ilObjectService
$service
)
23
{
24
$this->service =
$service
;
25
}
26
30
public
function
getSupportedFileExtensions
() : array
31
{
32
return
[
"png"
,
"jpg"
,
"jpeg"
];
33
}
34
38
public
function
getByObjId
(
int
$obj_id) :
ilObjectTileImage
39
{
40
return
new \ilObjectTileImage($this->service, $obj_id);
41
}
42
}
ilObjectTileImageFactory
tile image factory
Definition:
class.ilObjectTileImageFactory.php:11
ilObjectTileImageFactory\$service
$service
Definition:
class.ilObjectTileImageFactory.php:16
ilObjectService
Object service.
Definition:
class.ilObjectService.php:11
ilObjectTileImageFactory\__construct
__construct(ilObjectService $service)
Constructor.
Definition:
class.ilObjectTileImageFactory.php:22
ilObjectTileImageFactory\getSupportedFileExtensions
getSupportedFileExtensions()
Get supported file extensions.string[]
Definition:
class.ilObjectTileImageFactory.php:30
ilObjectTileImage
Tile image object.
Definition:
class.ilObjectTileImage.php:11
ilObjectTileImageFactory\getByObjId
getByObjId(int $obj_id)
Get tile image by object id.ilObjectTileImage
Definition:
class.ilObjectTileImageFactory.php:38
ilObjectTileImageFactoryInterface
Tile image factory.
Definition:
interface.ilObjectTileImageFactoryInterface.php:11
Services
Object
CommonSettings
TileImage
classes
class.ilObjectTileImageFactory.php
Generated on Sun Apr 6 2025 21:01:36 for ILIAS by
1.8.13 (using
Doxyfile
)