|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Builds data types. More...
Collaboration diagram for ILIAS\Data\Factory: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) | |
| htmlMetadata () | |
| openGraphMetadata () | |
| languageTag (string $language_tag) | |
Private Attributes | |
| Color Factory | $colorfactory = null |
| cache for color factory. More... | |
| Dimension Factory | $dimensionfactory = null |
| Meta Html Factory | $html_metadata_factory = null |
| Meta Html OpenGraph Factory | $open_graph_metadata_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<string,Dimension |
Definition at line 197 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 ILIAS\UI\examples\Table\Data\base(), ilIndividualAssessmentUserGradingTest\testToFormInput(), ilStudyProgrammeDeadlineSettings\toFormInput(), and ilStudyProgrammeValidityOfAchievedQualificationSettings\toFormInput().
Here is the caller graph for this function:| 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 202 of file Factory.php.
References ILIAS\Data\Factory\$html_metadata_factory.
| ILIAS\Data\Factory::languageTag | ( | string | $language_tag | ) |
Definition at line 220 of file Factory.php.
References ILIAS\Data\LanguageTag\fromString().
Here is the call graph for this function:| 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 211 of file Factory.php.
References ILIAS\Data\Factory\$open_graph_metadata_factory.
| 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.
Referenced by PasswordContraintsTest\constraintsProvider(), and ILIAS\UI\examples\Input\Field\Password\with_contraints().
Here is the caller graph for this function:| 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::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.
Referenced by ILIAS\UI\examples\Table\Action\Multi\base(), ILIAS\UI\examples\Table\Action\Single\base(), and ILIAS\UI\examples\Table\Action\Standard\base().
Here is the caller graph for this function:| ILIAS\Data\Factory::version | ( | string | $version | ) |
| string | $version | in the form +([.]+([.]+)?)? |
Definition at line 171 of file Factory.php.
cache for color factory.
Definition at line 40 of file Factory.php.
|
private |
Definition at line 41 of file Factory.php.
Referenced by ILIAS\Data\Factory\dimension().
|
private |
Definition at line 42 of file Factory.php.
Referenced by ILIAS\Data\Factory\htmlMetadata().
|
private |
Definition at line 43 of file Factory.php.
Referenced by ILIAS\Data\Factory\openGraphMetadata().