ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Builds data types. More...
Public Member Functions | |
ok ($value) | |
Get an ok result. More... | |
error ($e) | |
Get an error result. More... | |
color ($value) | |
Color is a data type representing a color in HTML. More... | |
uri (string $uri_string) | |
Object representing an uri valid according to RFC 3986 with restrictions imposed on valid characters and obliagtory parts. More... | |
dataSize ($size, ?string $unit=null) | |
Represents the size of some data. More... | |
password (string $pass) | |
clientId (string $clientId) | |
refId (int $ref_id) | |
objId (int $obj_id) | |
alphanumeric ($value) | |
positiveInteger (int $value) | |
dateFormat () | |
range (int $start, int $length) | |
order (string $subject, string $direction) | |
version (string $version) | |
link (string $label, URI $url) | |
clock () | |
dimension () | |
dataset (array $dimensions, array $dimension_groups=[]) | |
htmlMetadata () | |
openGraphMetadata () | |
languageTag (string $language_tag) | |
text () | |
Private Attributes | |
Color Factory | $colorfactory = null |
Dimension Factory | $dimensionfactory = null |
Meta Html Factory | $html_metadata_factory = null |
Meta Html OpenGraph Factory | $open_graph_metadata_factory = null |
Text Factory | $text_factory = null |
Builds data types.
Definition at line 35 of file Factory.php.
ILIAS\Data\Factory::alphanumeric | ( | $value | ) |
mixed | $value |
Definition at line 138 of file Factory.php.
ILIAS\Data\Factory::clientId | ( | string | $clientId | ) |
Definition at line 120 of file Factory.php.
ILIAS\Data\Factory::clock | ( | ) |
Definition at line 181 of file Factory.php.
ILIAS\Data\Factory::color | ( | $value | ) |
Color is a data type representing a color in HTML.
Construct a color with a hex-value or list of RGB-values.
string|int[] | $value |
Definition at line 72 of file Factory.php.
ILIAS\Data\Factory::dataset | ( | array | $dimensions, |
array | $dimension_groups = [] |
||
) |
array<string,Dimension |
Definition at line 198 of file Factory.php.
ILIAS\Data\Factory::dataSize | ( | $size, | |
?string | $unit = null |
||
) |
Represents the size of some data.
string | int | $size | string might be a string like "126 MB" |
Definition at line 97 of file Factory.php.
References ILIAS\Data\DataSize\$abbreviations.
ILIAS\Data\Factory::dateFormat | ( | ) |
Definition at line 148 of file Factory.php.
Referenced by ilStudyProgrammeDeadlineSettings\toFormInput(), and ilStudyProgrammeValidityOfAchievedQualificationSettings\toFormInput().
ILIAS\Data\Factory::dimension | ( | ) |
ILIAS\Data\Factory::error | ( | $e | ) |
Get an error result.
string | \Exception | $e |
Definition at line 61 of file Factory.php.
References Vendor\Package\$e.
ILIAS\Data\Factory::htmlMetadata | ( | ) |
Definition at line 203 of file Factory.php.
References ILIAS\Data\Factory\$html_metadata_factory, and null.
ILIAS\Data\Factory::languageTag | ( | string | $language_tag | ) |
Definition at line 221 of file Factory.php.
References ILIAS\Data\LanguageTag\fromString().
ILIAS\Data\Factory::link | ( | string | $label, |
URI | $url | ||
) |
Definition at line 176 of file Factory.php.
ILIAS\Data\Factory::objId | ( | int | $obj_id | ) |
Definition at line 130 of file Factory.php.
ILIAS\Data\Factory::ok | ( | $value | ) |
ILIAS\Data\Factory::openGraphMetadata | ( | ) |
Definition at line 212 of file Factory.php.
References ILIAS\Data\Factory\$open_graph_metadata_factory, and null.
ILIAS\Data\Factory::order | ( | string | $subject, |
string | $direction | ||
) |
string | $direction | Order::ASC|Order::DESC |
Definition at line 162 of file Factory.php.
ILIAS\Data\Factory::password | ( | string | $pass | ) |
Definition at line 115 of file Factory.php.
ILIAS\Data\Factory::positiveInteger | ( | int | $value | ) |
Definition at line 143 of file Factory.php.
ILIAS\Data\Factory::range | ( | int | $start, |
int | $length | ||
) |
Definition at line 154 of file Factory.php.
ILIAS\Data\Factory::refId | ( | int | $ref_id | ) |
Definition at line 125 of file Factory.php.
ILIAS\Data\Factory::text | ( | ) |
Definition at line 226 of file Factory.php.
References ILIAS\Data\Factory\$text_factory, and null.
ILIAS\Data\Factory::uri | ( | string | $uri_string | ) |
Object representing an uri valid according to RFC 3986 with restrictions imposed on valid characters and obliagtory parts.
Definition at line 85 of file Factory.php.
ILIAS\Data\Factory::version | ( | string | $version | ) |
string | $version | in the form +([.]+([.]+)?)? |
Definition at line 171 of file Factory.php.
Definition at line 38 of file Factory.php.
Definition at line 39 of file Factory.php.
Referenced by ILIAS\Data\Factory\dimension().
Definition at line 40 of file Factory.php.
Referenced by ILIAS\Data\Factory\htmlMetadata().
Definition at line 41 of file Factory.php.
Referenced by ILIAS\Data\Factory\openGraphMetadata().
Definition at line 42 of file Factory.php.
Referenced by ILIAS\Data\Factory\text().