|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Data\Description\DMap:
Collaboration diagram for ILIAS\Data\Description\DMap:Public Member Functions | |
| __construct (Text\SimpleDocumentMarkdown $description, protected DValue $key_type, 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... | |
| getKeyType () | |
| getValueType () | |
Public Member Functions inherited from ILIAS\Data\Description\Description | |
| __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\DMap::__construct | ( | Text\SimpleDocumentMarkdown | $description, |
| protected DValue | $key_type, | ||
| protected Description | $value_type | ||
| ) |
Definition at line 29 of file DMap.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ILIAS\Data\Description\DMap::getKeyType | ( | ) |
| ILIAS\Data\Description\DMap::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 37 of file DMap.php.
References $data.
| ILIAS\Data\Description\DMap::getValueType | ( | ) |
Definition at line 77 of file DMap.php.