$components
$components : array
Required components
Controller of the CharactergroupsquestsAgent to display Character groups Quests.
$log : \nre\core\Logger
Logger instance
$linker : \nre\core\Linker
Linker instance
$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
preFilter(\nre\core\Request $request, \nre\core\Response $response)
Prefilter that is executed before running the Controller.
\nre\core\Request | $request | Current request |
\nre\core\Response | $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, string $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 |
string | $agent | Corresponding 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 |
quest(string $seminaryUrl, string $groupsgroupUrl, string $questUrl)
Action: quest.
Show a Character groups Quest for a Character groups-group of a Seminary.
string | $seminaryUrl | URL-Title of a Seminary |
string | $groupsgroupUrl | URL-Title of a Character groups-group |
string | $questUrl | URL-Title of a Character groups Quest |
manage(string $seminaryUrl, string $groupsgroupUrl, string $questUrl)
Action: manage.
Manage a Character groups Quest for a Character groups-group of a Seminary.
string | $seminaryUrl | URL-Title of a Seminary |
string | $groupsgroupUrl | URL-Title of a Character groups-group |
string | $questUrl | URL-Title of a Character groups Quest |
edit(string $seminaryUrl, string $groupsgroupUrl, string $questUrl)
Action: edit.
Edit a Character groups Quest of a Character groups-group of a Seminary.
string | $seminaryUrl | URL-Title of a Seminary |
string | $groupsgroupUrl | URL-Title of a Character groups-group |
string | $questUrl | URL-Title of a Character groups Quest |
delete(string $seminaryUrl, string $groupsgroupUrl, string $questUrl)
Action: delete.
Delete a Character groups Quest of a Character groups-group of a Seminary.
string | $seminaryUrl | URL-Title of a Seminary |
string | $groupsgroupUrl | URL-Title of a Character groups-group |
string | $questUrl | URL-Title of a Character groups Quest |
__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, array $checkConditions = null)
Check for newly achieved Achievements.
\nre\core\Request | $request | Current request |
\nre\core\Response | $response | Current response |
array | $checkConditions | Conditions to check |
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 | Current request |
\nre\core\Response | $response | Current response |