ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
MyValidationConstraintsConstraint Class Reference
+ Inheritance diagram for MyValidationConstraintsConstraint:
+ Collaboration diagram for MyValidationConstraintsConstraint:

Public Member Functions

 _getLngClosure ()
 
- Public Member Functions inherited from 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: 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...
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\Refinery\Custom\Constraint
 getError ()
 
- Protected Attributes inherited from ILIAS\Refinery\Custom\Constraint
Data Factory $data_factory
 
ilLanguage $lng
 
 $is_ok
 
 $error
 

Detailed Description

Definition at line 25 of file CustomTest.php.

Member Function Documentation

◆ _getLngClosure()

MyValidationConstraintsConstraint::_getLngClosure ( )

Definition at line 27 of file CustomTest.php.

References ILIAS\Refinery\getLngClosure().

27  : Closure
28  {
29  return $this->getLngClosure();
30  }
getLngClosure()
Get the closure to be passed to the error-function that does i18n and sprintf.
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: