ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (Text\SimpleDocumentMarkdown $description, protected Description $value_type) | |
getPrimitiveRepresentation (mixed $data) | |
Each of the types that can be described has a canonical representation created from primitive PHP types. More... | |
getValueType () | |
![]() | |
__construct (protected ?Text\SimpleDocumentMarkdown $description,) | |
getDescription () | |
getPrimitiveRepresentation (mixed $data) | |
Each of the types that can be described has a canonical representation created from primitive PHP types. More... | |
matches (mixed $data) | |
ILIAS\Data\Description\DList::__construct | ( | Text\SimpleDocumentMarkdown | $description, |
protected Description | $value_type | ||
) |
Definition at line 29 of file DList.php.
References ILIAS\GlobalScreen\Provider\__construct().
ILIAS\Data\Description\DList::getPrimitiveRepresentation | ( | mixed | $data | ) |
Each of the types that can be described has a canonical representation created from primitive PHP types.
This attempts to transform the provided data into such a representation.
If this returns a \Closure, the data cannot be transformed into such a representation and the \Closure will produce a generator that provides a list of defects where $data does not match the description. If this does return something else it will be plain old php data according to the description.
Reimplemented from ILIAS\Data\Description\Description.
Definition at line 36 of file DList.php.
References $data.
ILIAS\Data\Description\DList::getValueType | ( | ) |
Definition at line 62 of file DList.php.