ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Style\Content\InternalDataService Class Reference

Content style data object factory. More...

+ Collaboration diagram for ILIAS\Style\Content\InternalDataService:

Public Member Functions

 __construct ()
 
 characteristic (string $type, string $characteristic, bool $hide, array $titles, int $style_id=0, int $order_nr=0, bool $outdated=false)
 
 image (string $path, DataSize $size, int $width, int $height)
 

Detailed Description

Content style data object factory.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 29 of file class.InternalDataService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Style\Content\InternalDataService::__construct ( )

Definition at line 31 of file class.InternalDataService.php.

32 {
33 }

Member Function Documentation

◆ characteristic()

ILIAS\Style\Content\InternalDataService::characteristic ( string  $type,
string  $characteristic,
bool  $hide,
array  $titles,
int  $style_id = 0,
int  $order_nr = 0,
bool  $outdated = false 
)

Definition at line 35 of file class.InternalDataService.php.

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 }
$c
Definition: deliver.php:25

References $c.

◆ image()

ILIAS\Style\Content\InternalDataService::image ( string  $path,
DataSize  $size,
int  $width,
int  $height 
)

Definition at line 59 of file class.InternalDataService.php.

64 : Image {
65 return new Image(
66 $path,
67 $size,
68 $width,
69 $height
70 );
71 }
$path
Definition: ltiservices.php:30

The documentation for this class was generated from the following file: