|
Elgg
Version master
|
Check if the current route has a group_tool configured and that the group tool is enabled for the (group) page owner. More...
Public Member Functions | ||||||
| __invoke (\Elgg\Request $request) | ||||||
{Validate the current request.
| ||||||
Additional Inherited Members | |
Protected Member Functions inherited from Elgg\Router\Middleware\GroupPageOwnerGatekeeper | |
| getType () | |
Returns the type of the page owner to validate.
| |
Protected Member Functions inherited from Elgg\Router\Middleware\PageOwnerGatekeeper | |
| assert (\Elgg\Request $request, Route $route) | |
| Performs assertions. More... | |
| assertPageOwner () | |
| Asserts the pageowner. More... | |
| getSubtype () | |
| Returns the subtype of the page owner to validate. More... | |
Protected Attributes inherited from Elgg\Router\Middleware\PageOwnerGatekeeper | |
| ElggEntity | $page_owner |
Check if the current route has a group_tool configured and that the group tool is enabled for the (group) page owner.
Definition at line 13 of file GroupToolGatekeeper.php.
| Elgg\Router\Middleware\GroupToolGatekeeper::__invoke | ( | \Elgg\Request | $request | ) |
{Validate the current request.
| \Elgg\Request | $request | the current request |
| EntityNotFoundException |
| GroupToolGatekeeperException | |
| HttpException |
Reimplemented from Elgg\Router\Middleware\PageOwnerGatekeeper.
Definition at line 20 of file GroupToolGatekeeper.php.