|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ILIAS\Refinery\Custom\Constraint:
Collaboration diagram for ILIAS\Refinery\Custom\Constraint:Public Member Functions | |
| __construct (callable $is_ok, $error, Data\Factory $data_factory, ilLanguage $lng) | |
| If $error is a callable it needs to take two parameters: More... | |
| check ($value) | |
| accepts ($value) | |
| problemWith ($value) | |
| applyTo (Result $result) | |
Public Member Functions inherited from ILIAS\Refinery\Constraint | |
| withProblemBuilder (callable $builder) | |
| Get a constraint like this one with a builder for a custom error message. More... | |
Public Member Functions inherited from ILIAS\Refinery\Transformation | |
| transform ($from) | |
| Perform the transformation. More... | |
| __invoke ($from) | |
| Transformations should be callable. More... | |
Protected Member Functions | |
| getError () | |
Protected Attributes | |
| Data Factory | $data_factory |
| ilLanguage | $lng |
| $is_ok | |
| $error | |
Definition at line 31 of file Constraint.php.
| ILIAS\Refinery\Custom\Constraint::__construct | ( | callable | $is_ok, |
| $error, | |||
| Data\Factory | $data_factory, | ||
| ilLanguage | $lng | ||
| ) |
If $error is a callable it needs to take two parameters:
| callable | $is_ok | |
| string | callable | $error | |
| Data\Factory | $data_factory | |
| ilLanguage | $lng |
Definition at line 56 of file Constraint.php.
References ILIAS\Refinery\Custom\Constraint\$data_factory, ILIAS\Refinery\Custom\Constraint\$error, ILIAS\Refinery\Custom\Constraint\$is_ok, ILIAS\Refinery\Custom\Constraint\$lng, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
final |
Implements ILIAS\Refinery\Constraint.
Definition at line 87 of file Constraint.php.
Referenced by ILIAS\Refinery\Custom\Constraint\check(), and ILIAS\Refinery\Custom\Constraint\problemWith().
Here is the caller graph for this function:
|
final |
Implements ILIAS\Refinery\Constraint.
Definition at line 107 of file Constraint.php.
References ILIAS\Refinery\Custom\Constraint\$error, ILIAS\Data\Result\isError(), ILIAS\Refinery\Custom\Constraint\problemWith(), and ILIAS\Data\Result\value().
Here is the call graph for this function:
|
final |
Implements ILIAS\Refinery\Constraint.
Definition at line 75 of file Constraint.php.
References ILIAS\Refinery\Custom\Constraint\accepts(), and ILIAS\Refinery\getErrorMessage().
Here is the call graph for this function:
|
protected |
|
final |
Implements ILIAS\Refinery\Constraint.
Definition at line 95 of file Constraint.php.
References ILIAS\Refinery\Custom\Constraint\accepts(), and ILIAS\Refinery\getErrorMessage().
Referenced by ILIAS\Refinery\Custom\Constraint\applyTo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 37 of file Constraint.php.
Referenced by ILIAS\Refinery\Logical\Sequential\__construct(), and ILIAS\Refinery\Custom\Constraint\__construct().
|
protected |
Definition at line 42 of file Constraint.php.
Referenced by ILIAS\Refinery\Custom\Constraint\__construct(), ILIAS\Refinery\Custom\Constraint\applyTo(), ILIAS\Refinery\Custom\Constraint\getError(), and ValidationConstraintsCustomTest\setUp().
|
protected |
Definition at line 40 of file Constraint.php.
Referenced by ILIAS\Refinery\Custom\Constraint\__construct(), and ValidationConstraintsCustomTest\setUp().
|
protected |
Definition at line 38 of file Constraint.php.
Referenced by ilAccessibilityDocumentCriterionAssignmentConstraint\__construct(), ILIAS\Refinery\Logical\Sequential\__construct(), and ILIAS\Refinery\Custom\Constraint\__construct().