Generic action controller.
More...
Generic action controller.
- Since
- 6.2
Definition at line 13 of file GenericAction.php.
Elgg\Controllers\GenericAction::__invoke |
( |
\Elgg\Request |
$request | ) |
|
|
final |
Invoke the action steps.
- Parameters
-
\Elgg\Request | $request | the request for the action |
- Returns
Definition at line 24 of file GenericAction.php.
Elgg\Controllers\GenericAction::error |
( |
string |
$message | ) |
|
|
protected |
Will be used when something wrong happened during the handling of the action.
- Parameters
-
string | $message | Message to show to the user |
- Returns
- ErrorResponse
Definition at line 96 of file GenericAction.php.
Elgg\Controllers\GenericAction::execute |
( |
| ) |
|
|
protected |
Elgg\Controllers\GenericAction::executeAfter |
( |
| ) |
|
|
protected |
Action part after the main execution.
- Returns
- void
Definition at line 77 of file GenericAction.php.
Elgg\Controllers\GenericAction::executeBefore |
( |
| ) |
|
|
protected |
Preparation before executing the action.
- Returns
- void
Definition at line 61 of file GenericAction.php.
Elgg\Controllers\GenericAction::sanitize |
( |
| ) |
|
|
protected |
Elgg\Controllers\GenericAction::success |
( |
| ) |
|
|
protected |
Will be used when an action is successfully finished.
- Returns
- OkResponse
Definition at line 85 of file GenericAction.php.
Elgg\Controllers\GenericAction::validate |
( |
| ) |
|
|
protected |
Elgg Request Elgg\Controllers\GenericAction::$request |
|
protected |
The documentation for this class was generated from the following file: