|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ILIAS\Validation\Constraints\Parallel:
Collaboration diagram for ILIAS\Validation\Constraints\Parallel:Public Member Functions | ||||||
| __construct (array $constraints, Data\Factory $data_factory) | ||||||
Public Member Functions inherited from ILIAS\Validation\Constraints\Custom | ||||||
| __construct (callable $is_ok, $error, Data\Factory $data_factory) | ||||||
| check ($value) | ||||||
Checks the provided value.Should not throw if accepts($value).
UnexpectedValueException if value does not comply with encoded constraint.
| ||||||
| accepts ($value) | ||||||
Tells if the provided value complies.
| ||||||
| problemWith ($value) | ||||||
Tells what the problem with the provided value is.Should return null if accepts($value).
| ||||||
| restrict (Result $result) | ||||||
Restricts a Result.Must do nothing with the result if $result->isError(). Must replace the result with an error according to problemWith() if !accepts($result->value()).
| ||||||
| withProblemBuilder (callable $builder) | ||||||
Get a constraint like this one with a builder for a custom error message.problemWith() must return an error message according to the new builder for the new constraint.
| ||||||
| getErrorMessage ($value) | ||||||
| Get the problem message. More... | ||||||
| check ($value) | ||||||
| Checks the provided value. More... | ||||||
| accepts ($value) | ||||||
| Tells if the provided value complies. More... | ||||||
| problemWith ($value) | ||||||
| Tells what the problem with the provided value is. More... | ||||||
| restrict (Result $result) | ||||||
| Restricts a Result. More... | ||||||
| withProblemBuilder (callable $builder) | ||||||
| Get a constraint like this one with a builder for a custom error message. More... | ||||||
Protected Attributes | |
| $constraints | |
| $failed_constraints | |
Protected Attributes inherited from ILIAS\Validation\Constraints\Custom | |
| $data_factory | |
| $is_ok | |
| $error | |
Definition at line 10 of file Parallel.php.
| ILIAS\Validation\Constraints\Parallel::__construct | ( | array | $constraints, |
| Data\Factory | $data_factory | ||
| ) |
Definition at line 25 of file Parallel.php.
References ILIAS\Validation\Constraints\Parallel\$constraints, ILIAS\Validation\Constraints\Custom\$data_factory, $key, $message, and $ret.
|
protected |
Definition at line 15 of file Parallel.php.
Referenced by ILIAS\Validation\Constraints\Parallel\__construct().
|
protected |
Definition at line 23 of file Parallel.php.