|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Minimal LanguageActivity making the protected invalidMarkupCustomizingEntries() callable. More...
Inheritance diagram for ILIAS\Language\Tests\Activities\LanguageActivityInvalidMarkupTestDouble:
Collaboration diagram for ILIAS\Language\Tests\Activities\LanguageActivityInvalidMarkupTestDouble:Public Member Functions | |
| entries (array $skipped, array $language_keys) | |
| duplicateEntries (array $skipped, array $language_keys) | |
| 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) | |
Minimal LanguageActivity making the protected invalidMarkupCustomizingEntries() callable.
Definition at line 296 of file LanguageActivityTest.php.
| ILIAS\Language\Tests\Activities\LanguageActivityInvalidMarkupTestDouble::duplicateEntries | ( | array | $skipped, |
| array | $language_keys | ||
| ) |
| array<string,array<string,list<string>>> | $skipped |
| list<string> | $language_keys |
Definition at line 313 of file LanguageActivityTest.php.
References ILIAS\Language\Activities\LanguageActivity\duplicateCustomizingEntries().
Here is the call graph for this function:| ILIAS\Language\Tests\Activities\LanguageActivityInvalidMarkupTestDouble::entries | ( | array | $skipped, |
| array | $language_keys | ||
| ) |
| array<string,array<string,list<string>>> | $skipped |
| list<string> | $language_keys |
Definition at line 303 of file LanguageActivityTest.php.
References ILIAS\Language\Activities\LanguageActivity\invalidMarkupCustomizingEntries().
Here is the call graph for this function:| ILIAS\Language\Tests\Activities\LanguageActivityInvalidMarkupTestDouble::getDescription | ( | ) |
Implements ILIAS\Component\Activities\Activity.
Definition at line 318 of file LanguageActivityTest.php.
| ILIAS\Language\Tests\Activities\LanguageActivityInvalidMarkupTestDouble::getInputDescription | ( | FieldFactory | $f | ) |
Implements ILIAS\Component\Activities\Activity.
Definition at line 323 of file LanguageActivityTest.php.
| ILIAS\Language\Tests\Activities\LanguageActivityInvalidMarkupTestDouble::getOutputDescription | ( | Description\Factory | $f | ) |
Implements ILIAS\Component\Activities\Activity.
Definition at line 328 of file LanguageActivityTest.php.
|
protected |
Reimplemented from ILIAS\Language\Activities\LanguageActivity.
Definition at line 341 of file LanguageActivityTest.php.
| ILIAS\Language\Tests\Activities\LanguageActivityInvalidMarkupTestDouble::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 333 of file LanguageActivityTest.php.