|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint:
Collaboration diagram for ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint:Public Member Functions | |
| __construct (callable $is_ok, $error, Data\Factory $data_factory, \ILIAS\Language\Language $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 |
| ILIAS Language Language | $lng |
| $is_ok | |
| $error | |
Definition at line 30 of file Constraint.php.
| ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint::__construct | ( | callable | $is_ok, |
| $error, | |||
| Data\Factory | $data_factory, | ||
| \ILIAS\Language\Language | $lng | ||
| ) |
If $error is a callable it needs to take two parameters:
| callable | $is_ok | |
| string | callable | $error | |
| Data\Factory | $data_factory | |
| \ILIAS\Language\Language | $lng |
Definition at line 55 of file Constraint.php.
References ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\$data_factory, ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\$error, ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\$is_ok, ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\$lng, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
final |
Implements ILIAS\Refinery\Constraint.
Definition at line 86 of file Constraint.php.
Referenced by ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\check(), and ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\problemWith().
Here is the caller graph for this function:
|
final |
Implements ILIAS\Refinery\Constraint.
Definition at line 106 of file Constraint.php.
References ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\$error, and ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\problemWith().
Here is the call graph for this function:
|
final |
Implements ILIAS\Refinery\Constraint.
Definition at line 74 of file Constraint.php.
References ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\accepts(), and ILIAS\Refinery\getErrorMessage().
Here is the call graph for this function:
|
protected |
Definition at line 66 of file Constraint.php.
References ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\$error.
|
final |
Implements ILIAS\Refinery\Constraint.
Definition at line 94 of file Constraint.php.
References ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\accepts(), and ILIAS\Refinery\getErrorMessage().
Referenced by ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\applyTo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 36 of file Constraint.php.
Referenced by ILIAS\Refinery\IsNull\__construct(), ILIAS\UI\Implementation\Component\Input\Container\Form\NotEmpty\__construct(), and ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\__construct().
|
protected |
Definition at line 41 of file Constraint.php.
Referenced by ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\__construct(), ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\applyTo(), and ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\getError().
|
protected |
Definition at line 39 of file Constraint.php.
Referenced by ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\__construct().
|
protected |
Definition at line 37 of file Constraint.php.
Referenced by ILIAS\Refinery\IsNull\__construct(), ILIAS\UI\Implementation\Component\Input\Container\Form\NotEmpty\__construct(), ilAccessibilityDocumentCriterionAssignmentConstraint\__construct(), and ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\__construct().