ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.InternalDataService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Style\Content
;
22
23
use
ILIAS\Data\DataSize
;
24
29
class
InternalDataService
30
{
31
public
function
__construct
()
32
{
33
}
34
35
public
function
characteristic
(
36
string
$type,
37
string
$characteristic,
38
bool
$hide,
39
array $titles,
40
int
$style_id = 0,
41
int
$order_nr = 0,
42
bool
$outdated =
false
43
):
Characteristic
{
44
$c
=
new
Characteristic
(
45
$type,
46
$characteristic,
47
$hide,
48
$titles,
49
$order_nr,
50
$outdated
51
);
52
if
($style_id > 0) {
53
$c
=
$c
->withStyleId($style_id);
54
}
55
return
$c
;
56
}
57
58
// image
59
public
function
image
(
60
string
$path
,
61
DataSize
$size,
62
int
$width,
63
int
$height
64
):
Image
{
65
return
new
Image
(
66
$path,
67
$size,
68
$width,
69
$height
70
);
71
}
72
}
ILIAS\Style\Content\InternalDataService\characteristic
characteristic(string $type, string $characteristic, bool $hide, array $titles, int $style_id=0, int $order_nr=0, bool $outdated=false)
Definition:
class.InternalDataService.php:35
Image
ILIAS\Style\Content
DataSize
ILIAS\Data\DataSize
This class provides the data size with additional information to remove the work to calculate the siz...
Definition:
DataSize.php:30
$c
$c
Definition:
deliver.php:25
$path
$path
Definition:
ltiservices.php:29
ILIAS\Style\Content\InternalDataService\image
image(string $path, DataSize $size, int $width, int $height)
Definition:
class.InternalDataService.php:59
ILIAS\Repository\InternalDataService
Definition:
class.InternalDataService.php:25
ILIAS\Style\Content\Characteristic
Characteristic (Class) of style.
Definition:
class.Characteristic.php:27
ILIAS\Style\Content\InternalDataService\__construct
__construct()
Definition:
class.InternalDataService.php:31
components
ILIAS
Style
Content
Service
class.InternalDataService.php
Generated on Sun Aug 31 2025 23:02:09 for ILIAS by
1.8.13 (using
Doxyfile
)