ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Namespaces | |
namespace | Container |
namespace | Custom |
namespace | DateTime |
namespace | Encode |
namespace | In |
namespace | Integer |
namespace | KindlyTo |
namespace | Logical |
namespace | Numeric |
namespace | Password |
namespace | Random |
namespace | String |
namespace | To |
namespace | URI |
Data Structures | |
class | ByTrying |
class | ConstantTransformation |
interface | Constraint |
A constraint encodes some resrtictions on values. More... | |
class | ConstraintViolationException |
class | Factory |
class | FactoryFactory |
This Javaism is required to solve the problem that we do not have proper \ILIAS\Language\Language during the setup. More... | |
class | IdentityTransformation |
class | IsExecutableTransformation |
Validates that the given string is a valid and executable file path. More... | |
class | IsNull |
class | KeyValueAccess |
interface | Transformation |
A transformation is a function from one datatype to another. More... | |
Functions | |
applyTo (Result $result) | |
@inheritDoc More... | |
__invoke ($from) | |
@inheritDoc More... | |
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 | ) |
@inheritDoc
Definition at line 33 of file DeriveInvokeFromTransform.php.
References ILIAS\Refinery\transform().
Referenced by ilInitialisation\getClientIdTransformation().
ILIAS\Refinery\applyTo | ( | Result | $result | ) |
@inheritDoc
Definition at line 38 of file DeriveApplyToFromTransform.php.
References ILIAS\Data\Result\then(), and ILIAS\Refinery\transform().
Referenced by ilInitialisation\getClientIdTransformation(), ILIAS\Tests\Refinery\IdentityTransformationTest\testApplyToError(), and ILIAS\Tests\Refinery\IdentityTransformationTest\testApplyToOk().
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().
|
final |
Definition at line 39 of file ProblemBuilder.php.
References ILIAS\$error, getError(), and ILIAS\Refinery\getLngClosure().
Referenced by assTextQuestionGUI\addSuggestedSolution(), ILIAS\Refinery\Custom\Constraint\check(), ILIAS\Refinery\check(), ILIAS\Refinery\To\Transformation\BooleanTransformation\check(), ILIAS\Refinery\To\Transformation\DateTimeTransformation\check(), ILIAS\Refinery\To\Transformation\DictionaryTransformation\check(), ILIAS\Refinery\To\Transformation\FloatTransformation\check(), ILIAS\Refinery\To\Transformation\IntegerTransformation\check(), ILIAS\Refinery\To\Transformation\ListTransformation\check(), ILIAS\Refinery\To\Transformation\RecordTransformation\check(), ILIAS\Refinery\To\Transformation\StringTransformation\check(), ILIAS\Refinery\To\Transformation\TupleTransformation\check(), ILIAS\Refinery\Custom\Constraint\problemWith(), ILIAS\Refinery\problemWith(), ILIAS\Refinery\To\Transformation\BooleanTransformation\problemWith(), ILIAS\Refinery\To\Transformation\DateTimeTransformation\problemWith(), ILIAS\Refinery\To\Transformation\DictionaryTransformation\problemWith(), ILIAS\Refinery\To\Transformation\FloatTransformation\problemWith(), ILIAS\Refinery\To\Transformation\IntegerTransformation\problemWith(), ILIAS\Refinery\To\Transformation\ListTransformation\problemWith(), ILIAS\Refinery\To\Transformation\RecordTransformation\problemWith(), ILIAS\Refinery\To\Transformation\StringTransformation\problemWith(), ILIAS\Refinery\To\Transformation\TupleTransformation\problemWith(), and ILIAS\Refinery\ByTrying\transform().
|
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().
ILIAS\Refinery\problemWith | ( | $value | ) |
Definition at line 49 of file DeriveTransformWithProblem.php.
References ILIAS\Refinery\getErrorMessage().
ILIAS\Refinery\transform | ( | $from | ) |
Definition at line 36 of file DeriveTransformWithProblem.php.
References ILIAS\Refinery\check().
Referenced by ILIAS\Refinery\Parser\ABNF\Brick\__construct(), ILIAS\Refinery\__invoke(), ILIAS\Refinery\applyTo(), ilObjTestGUI\buildInputPoolSelection(), ilMailFormGUI\editAttachments(), ilMailSearchObjectMembershipsTableGUI\fillRow(), ilInitialisation\getClientIdTransformation(), ILIAS\Refinery\Parser\ABNF\Brick\namesFromKeys(), ILIAS\Test\Questions\Presentation\QuestionsTableQuery\retrieveStringOrNull(), ilMailCronOrphanedMails\saveCustomSettings(), ilMailFormGUI\saveMailBeforeSearch(), ilMailFormGUI\searchUsers(), ILIAS\User\Profile\PersonalProfileGUI\showPublicProfileFields(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLAttributeValueTest\testInvalidEncoding(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLSpecialCharsAsEntitiesTest\testInvalidEncoding(), ILIAS\Tests\Refinery\Encode\Transformation\JsonTest\testInvalidEncoding(), ILIAS\Tests\Refinery\Encode\Transformation\URLTest\testInvalidEncoding(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLAttributeValueTest\testInvalidType(), ILIAS\Tests\Refinery\Encode\Transformation\HTMLSpecialCharsAsEntitiesTest\testInvalidType(), ILIAS\Tests\Refinery\Encode\Transformation\URLTest\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\HTMLAttributeValueTest\testTransform(), ILIAS\Tests\Refinery\Encode\Transformation\JsonTest\testTransform(), ILIAS\Tests\Refinery\Random\Transformation\ShuffleTransformationTest\testTransformResultFailure(), ILIAS\Tests\Refinery\Random\Transformation\ShuffleTransformationTest\testTransformResultSuccess(), assMatchingQuestion\toJSON(), and ILIAS\Refinery\Parser\ABNF\Brick\transformation().
|
final |
Definition at line 32 of file ProblemBuilder.php.