$components
$components : array
Required components
Controller of the UploadsAgent to process and show user uploads.
$agent : \nre\core\Agent
Corresponding Agent
$view : \nre\core\View
View of the Controller
$request : \nre\core\Request
Current request
$response : \nre\core\Response
Current response
postFilter(\nre\core\Request $request, \nre\core\Response $response)
Prefilter that is executed after running the Controller.
| \nre\core\Request | $request | Current request |
| \nre\core\Response | $response | Current response |
factory(string $controllerName, string $layoutName, string $action, $agent)
Instantiate a Controller (Factory Pattern).
| string | $controllerName | Name of the Controller to instantiate |
| string | $layoutName | Name of the current Layout |
| string | $action | Current Action |
| $agent |
run(\nre\core\Request $request, \nre\core\Response $response)
Run the Controller.
This method executes the Action of the Controller defined by the current Request.
| \nre\core\Request | $request | Current request |
| \nre\core\Response | $response | Current response |
seminary(string $seminaryUrl, string $uploadUrl, $action = null)
Action: seminary.
Display a Seminary upload.
| string | $seminaryUrl | URL-title of Seminary |
| string | $uploadUrl | URL-name of the upload |
| $action |
charactergroup(string $seminaryUrl, string $groupsgroupUrl, string $groupUrl)
Action: charactergroup.
Display the icon of a Character group.
| string | $seminaryUrl | URL-Title of a Seminary |
| string | $groupsgroupUrl | URL-Title of a Character groups-group |
| string | $groupUrl | URL-Title of a Character group |
__construct(string $layoutName, string $action, \nre\core\Agent $agent)
Construct a new Controller.
| string | $layoutName | Name of the current Layout |
| string | $action | Current Action |
| \nre\core\Agent | $agent | Corresponding Agent |
checkAchievements(\nre\core\Request $request, \nre\core\Response $response, $checkConditions = null)
Check for newly achieved Achievements.
| \nre\core\Request | $request | |
| \nre\core\Response | $response | |
| $checkConditions |
getView() : \nre\core\View
Get the View of the Controller
View of the Controller
checkPermission(\nre\core\Request $request, \nre\core\Response $response)
Check user permissions.
| \nre\core\Request | $request | |
| \nre\core\Response | $response |