|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Namespaces | |
| Container | |
| Custom | |
| DateTime | |
| Encode | |
| In | |
| Integer | |
| KindlyTo | |
| Logical | |
| Numeric | |
| Parser | |
| Password | |
| Random | |
| String | |
| To | |
| URI | |
Functions | |
| applyTo (Result $result) | |
| __invoke ($from) | |
| transform ($from) | |
| check ($value) | |
| problemWith ($value) | |
| withProblemBuilder (callable $builder) | |
| getErrorMessage ($value) | |
| getLngClosure () | |
| Get the closure to be passed to the error-function that does i18n and sprintf. More... | |
| ILIAS\Refinery\__invoke | ( | $from | ) |
Definition at line 33 of file DeriveInvokeFromTransform.php.
References ILIAS\Refinery\transform().
Referenced by ilInitialisation\getClientIdTransformation().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Refinery\applyTo | ( | Result | $result | ) |
Definition at line 38 of file DeriveApplyToFromTransform.php.
References ILIAS\Data\Result\then(), and ILIAS\Refinery\transform().
Referenced by ilInitialisation\getClientIdTransformation(), ILIAS\UI\Implementation\Component\Input\Field\Tag\isClientSideValueOk(), ILIAS\Tests\Refinery\IdentityTransformationTest\testApplyToError(), and ILIAS\Tests\Refinery\IdentityTransformationTest\testApplyToOk().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Refinery\check | ( | $value | ) |
Definition at line 42 of file DeriveTransformWithProblem.php.
References ILIAS\Refinery\getErrorMessage().
Referenced by ILIAS\ResourceStorage\Policy\FileNamePolicyTest\getFileNamePolicy(), and ILIAS\Refinery\transform().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 39 of file ProblemBuilder.php.
References ILIAS\$error, and ILIAS\Refinery\getLngClosure().
Referenced by ILIAS\Refinery\check(), ILIAS\Refinery\To\Transformation\StringTransformation\check(), ILIAS\Refinery\To\Transformation\BooleanTransformation\check(), ILIAS\Refinery\To\Transformation\FloatTransformation\check(), ILIAS\Refinery\To\Transformation\IntegerTransformation\check(), ILIAS\Refinery\To\Transformation\DateTimeTransformation\check(), ILIAS\Refinery\To\Transformation\ListTransformation\check(), ILIAS\Refinery\To\Transformation\DictionaryTransformation\check(), ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\check(), ILIAS\Refinery\To\Transformation\TupleTransformation\check(), ILIAS\Refinery\To\Transformation\RecordTransformation\check(), ILIAS\Refinery\problemWith(), ILIAS\Refinery\To\Transformation\IntegerTransformation\problemWith(), ILIAS\Refinery\To\Transformation\BooleanTransformation\problemWith(), ILIAS\Refinery\To\Transformation\StringTransformation\problemWith(), ILIAS\Refinery\To\Transformation\FloatTransformation\problemWith(), ILIAS\Refinery\To\Transformation\DateTimeTransformation\problemWith(), ILIAS\Refinery\To\Transformation\ListTransformation\problemWith(), ILIAS\AdvancedMetaData\Services\ObjectModes\Custom\Custom\Constraint\problemWith(), ILIAS\Refinery\To\Transformation\DictionaryTransformation\problemWith(), ILIAS\Refinery\To\Transformation\TupleTransformation\problemWith(), ILIAS\Refinery\To\Transformation\RecordTransformation\problemWith(), ilObjPrivacySecurityGUI\save_privacy(), and ILIAS\Refinery\ByTrying\transform().
Here is the call graph for this function:
Here is the caller graph for this function:
|
finalprotected |
Get the closure to be passed to the error-function that does i18n and sprintf.
Definition at line 52 of file ProblemBuilder.php.
References ILIAS\$error, and ILIAS\Repository\lng().
Referenced by ILIAS\Refinery\getErrorMessage(), and CustomTest\setUp().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Refinery\problemWith | ( | $value | ) |
Definition at line 49 of file DeriveTransformWithProblem.php.
References ILIAS\Refinery\getErrorMessage().
Here is the call graph for this function:| ILIAS\Refinery\transform | ( | $from | ) |
Definition at line 36 of file DeriveTransformWithProblem.php.
References ILIAS\Refinery\check().
Referenced by ILIAS\Refinery\Parser\ABNF\Brick\__construct(), ilObjectServiceSettingsGUI\__construct(), ILIAS\Refinery\__invoke(), ILIAS\Refinery\applyTo(), ilObjectGUI\buildRefIdsFromData(), ilMailSearchObjectGUI\cancel(), ILIAS\TestQuestionPool\ilTestLegacyFormsHelper\checkPointsInput(), ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\getAnswerDetail(), ilInitialisation\getClientIdTransformation(), ILIAS\TestQuestionPool\RequestDataCollector\getMatchingPairs(), ilObjUserFolderGUI\importUsersObject(), ilMailExplorer\initFolder(), ilMailGUI\initFolder(), ilMailFolderGUI\initRequest(), ilChatroomViewGUI\lostConnection(), ILIAS\Refinery\Parser\ABNF\Brick\namesFromKeys(), ilMailCronOrphanedMails\saveCustomSettings(), ilForumCronNotification\saveCustomSettings(), ILIAS\Object\Properties\MultiObjectPropertiesManipulator\saveEditAvailabilityPeriodPropertiesModal(), ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\saveManScoringByQuestion(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\saveManScoringParticipantScreen(), ilObjectCopyGUI\setSource(), ilObjectCopyGUI\setTargets(), ilMailFormGUI\showForm(), ILIAS\Tests\Refinery\Encode\Transformation\URLTest\testInvalidEncoding(), ILIAS\Tests\Refinery\Encode\Transformation\JsonTest\testInvalidEncoding(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLAttributeValueTest\testInvalidEncoding(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLSpecialCharsAsEntitiesTest\testInvalidEncoding(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLSpecialCharsAsEntitiesTest\testInvalidType(), ILIAS\Tests\Refinery\Encode\Transformation\URLTest\testInvalidType(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLAttributeValueTest\testInvalidType(), ILIAS\Tests\Refinery\ConstantTransformationTest\testTransform(), ILIAS\Tests\Refinery\IdentityTransformationTest\testTransform(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLSpecialCharsAsEntitiesTest\testTransform(), ILIAS\Tests\Refinery\Encode\Transformation\URLTest\testTransform(), ILIAS\Tests\Refinery\Encode\Transformation\JsonTest\testTransform(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLAttributeValueTest\testTransform(), ILIAS\Tests\Refinery\Random\Transformation\ShuffleTransformationTest\testTransformResultFailure(), ILIAS\Tests\Refinery\Random\Transformation\ShuffleTransformationTest\testTransformResultSuccess(), assFormulaQuestionResult\transformAnswerValueAccordingToType(), ILIAS\TestQuestionPool\ilTestLegacyFormsHelper\transformArray(), ILIAS\Refinery\Parser\ABNF\Brick\transformation(), and ILIAS\TestQuestionPool\ilTestLegacyFormsHelper\transformPoints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 32 of file ProblemBuilder.php.
Referenced by ILIAS\UI\Implementation\Component\Input\Field\Radio\getConstraintForRequirement(), ILIAS\UI\Implementation\Component\Input\Field\Select\getConstraintForRequirement(), ILIAS\UI\Implementation\Component\Input\Field\Tag\getConstraintForRequirement(), and ILIAS\UI\Implementation\Component\Input\Field\DateTime\getConstraintForRequirement().
Here is the caller graph for this function: