ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
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) | |
Private Attributes | |
Color Factory | $colorfactory = null |
cache for color factory. More... | |
Dimension Factory | $dimensionfactory = null |
Builds data types.
Definition at line 20 of file Factory.php.
ILIAS\Data\Factory::alphanumeric | ( | $value | ) |
mixed | $value |
Definition at line 121 of file Factory.php.
ILIAS\Data\Factory::clientId | ( | string | $clientId | ) |
Definition at line 103 of file Factory.php.
ILIAS\Data\Factory::clock | ( | ) |
Definition at line 164 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 55 of file Factory.php.
ILIAS\Data\Factory::dataset | ( | array | $dimensions | ) |
array<string,Dimension |
Definition at line 180 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 80 of file Factory.php.
References ILIAS\Data\DataSize\$abbreviations.
ILIAS\Data\Factory::dateFormat | ( | ) |
Definition at line 131 of file Factory.php.
Referenced by ilIndividualAssessmentUserGradingTest\testToFormInput(), ilStudyProgrammeDeadlineSettings\toFormInput(), and ilStudyProgrammeValidityOfAchievedQualificationSettings\toFormInput().
ILIAS\Data\Factory::dimension | ( | ) |
ILIAS\Data\Factory::error | ( | $e | ) |
Get an error result.
string | \Exception | $e |
Definition at line 44 of file Factory.php.
References Vendor\Package\$e.
ILIAS\Data\Factory::link | ( | string | $label, |
URI | $url | ||
) |
Definition at line 159 of file Factory.php.
ILIAS\Data\Factory::objId | ( | int | $obj_id | ) |
Definition at line 113 of file Factory.php.
ILIAS\Data\Factory::ok | ( | $value | ) |
ILIAS\Data\Factory::order | ( | string | $subject, |
string | $direction | ||
) |
string | $direction | Order::ASC|Order::DESC |
Definition at line 145 of file Factory.php.
ILIAS\Data\Factory::password | ( | string | $pass | ) |
Definition at line 98 of file Factory.php.
Referenced by PasswordContraintsTest\constraintsProvider(), and ILIAS\UI\examples\Input\Field\Password\with_contraints().
ILIAS\Data\Factory::positiveInteger | ( | int | $value | ) |
Definition at line 126 of file Factory.php.
ILIAS\Data\Factory::range | ( | int | $start, |
int | $length | ||
) |
Definition at line 137 of file Factory.php.
ILIAS\Data\Factory::refId | ( | int | $ref_id | ) |
Definition at line 108 of file Factory.php.
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 68 of file Factory.php.
Referenced by ILIAS\UI\examples\Table\Action\Multi\base(), ILIAS\UI\examples\Table\Action\Single\base(), ILIAS\UI\examples\Table\Action\Standard\base(), and ILIAS\UI\examples\Table\Data\base().
ILIAS\Data\Factory::version | ( | string | $version | ) |
string | $version | in the form +([.]+([.]+)?)? |
Definition at line 154 of file Factory.php.
cache for color factory.
Definition at line 25 of file Factory.php.
|
private |
Definition at line 26 of file Factory.php.
Referenced by ILIAS\Data\Factory\dimension().