|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\Language\Tests\Activities\LanguageActivityThrowingInputDescriptionTestDouble:
Collaboration diagram for ILIAS\Language\Tests\Activities\LanguageActivityThrowingInputDescriptionTestDouble:Public Member Functions | |
| __construct (RBAC $rbac, LanguageFolder $language_folder, private readonly bool $throw_type_error=false,) | |
| getDescription () | |
| getInputDescription (FieldFactory $f) | |
| getOutputDescription (Description\Factory $f) | |
| perform (mixed $parameters) | |
| This shall perform the activity. More... | |
Public Member Functions inherited from ILIAS\Language\Activities\LanguageActivity | |
| __construct (private readonly ?RBAC $rbac, private readonly LanguageFolder $language_folder, protected readonly DataFactory $data=new DataFactory(),) | |
| getType () | |
| isAllowedToPerform (int $usr_id, mixed $parameters) | |
| This shall check if the given user is allowed to perform the activity based on business rules of this component. More... | |
| maybePerformAs (InputFactory $input_factory, int $usr_id, array $raw_parameters) | |
| Grinds the $raw_parameters through the input description, checks if the users is allowed to perform the action as requested and, if so, then attempts to performs it. More... | |
Public Member Functions inherited from ILIAS\Component\Activities\ActivityImpl | |
| getName () | |
| Shall return classname of the Activity, wrapped in Name. More... | |
| getName () | |
| Shall return classname of the Activity, wrapped in Name. More... | |
| getType () | |
| getDescription () | |
| getInputDescription (FieldFactory $f) | |
| getOutputDescription (Description\Factory $f) | |
| isAllowedToPerform (int $usr_id, mixed $parameters) | |
| This shall check if the given user is allowed to perform the activity based on business rules of this component. More... | |
| perform (mixed $parameters) | |
| This shall perform the activity. More... | |
| maybePerformAs (InputFactory $input_factory, int $usr_id, array $raw_parameters) | |
| Grinds the $raw_parameters through the input description, checks if the users is allowed to perform the action as requested and, if so, then attempts to performs it. More... | |
Protected Member Functions | |
| normalizeParameters (array $grind_result) | |
Protected Member Functions inherited from ILIAS\Language\Activities\LanguageActivity | |
| overlayWriteFailedOutputField (Description\Factory $f) | |
| The database was written, but the PO/MO overlay of a module was not: callers must not report plain success. More... | |
| invalidMarkupCustomizingOutputField (Description\Factory $f) | |
| duplicateCustomizingOutputField (Description\Factory $f) | |
| duplicateCustomizingEntries (array $skipped, array $language_keys) | |
| invalidMarkupCustomizingEntries (array $skipped, array $language_keys) | |
| normalizeParameters (array $grind_result) | |
Definition at line 209 of file LanguageActivityTest.php.
| ILIAS\Language\Tests\Activities\LanguageActivityThrowingInputDescriptionTestDouble::__construct | ( | RBAC | $rbac, |
| LanguageFolder | $language_folder, | ||
| private readonly bool | $throw_type_error = false |
||
| ) |
Definition at line 211 of file LanguageActivityTest.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ILIAS\Language\Tests\Activities\LanguageActivityThrowingInputDescriptionTestDouble::getDescription | ( | ) |
Implements ILIAS\Component\Activities\Activity.
Definition at line 219 of file LanguageActivityTest.php.
| ILIAS\Language\Tests\Activities\LanguageActivityThrowingInputDescriptionTestDouble::getInputDescription | ( | FieldFactory | $f | ) |
Implements ILIAS\Component\Activities\Activity.
Definition at line 224 of file LanguageActivityTest.php.
| ILIAS\Language\Tests\Activities\LanguageActivityThrowingInputDescriptionTestDouble::getOutputDescription | ( | Description\Factory | $f | ) |
Implements ILIAS\Component\Activities\Activity.
Definition at line 233 of file LanguageActivityTest.php.
|
protected |
Reimplemented from ILIAS\Language\Activities\LanguageActivity.
Definition at line 243 of file LanguageActivityTest.php.
| ILIAS\Language\Tests\Activities\LanguageActivityThrowingInputDescriptionTestDouble::perform | ( | mixed | $parameters | ) |
This shall perform the activity.
This shall not check if a user is allowed to perform the activity. The returned data should match the Description given by getOutputDescription.
| any | SPL Exception (https://www.php.net/manual/en/spl.exceptions.php) |
| mixed | $parameters | whatever the FormInput from getInputDescription produces. |
Implements ILIAS\Component\Activities\Activity.
Definition at line 238 of file LanguageActivityTest.php.