ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
This is a stub... More...
Public Member Functions | |
getDescription () | |
getInputDescription () | |
getOutputDescription (\ILIAS\Data\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 (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... | |
![]() | |
getType () | |
![]() | |
getName () | |
Shall return classname of the Activity, wrapped in Name. More... | |
![]() | |
getOutputDescription (Description\Factory $f) | |
This is a stub...
Definition at line 31 of file GetStatus.php.
ILIAS\Setup\Activities\GetStatus::getDescription | ( | ) |
Implements ILIAS\Component\Activities\Activity.
Definition at line 33 of file GetStatus.php.
ILIAS\Setup\Activities\GetStatus::getInputDescription | ( | ) |
Implements ILIAS\Component\Activities\Activity.
Definition at line 37 of file GetStatus.php.
ILIAS\Setup\Activities\GetStatus::getOutputDescription | ( | \ILIAS\Data\Description\Factory | $f | ) |
Definition at line 41 of file GetStatus.php.
ILIAS\Setup\Activities\GetStatus::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.
This shall, for example, check if the given user may add this other user to a course based on RBAC and position permissions, but this shall not check overall business rules such as: root may do everything. This shall not cause any observable side effects.
mixed | $parameters | whatever the FormInput from getInputDescription produces. |
Implements ILIAS\Component\Activities\Activity.
Definition at line 45 of file GetStatus.php.
ILIAS\Setup\Activities\GetStatus::maybePerformAs | ( | 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.
Wraps the result and possible errors in the Result
type.
Implements ILIAS\Component\Activities\Activity.
Definition at line 53 of file GetStatus.php.
ILIAS\Setup\Activities\GetStatus::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 49 of file GetStatus.php.