Elgg
Version master
|
Check if the current route page owner can be edited (by the current logged in user) More...
Protected Member Functions | |
assert (\Elgg\Request $request,\Elgg\Router\Route $route) | |
{} More... | |
Protected Member Functions inherited from Elgg\Router\Middleware\PageOwnerGatekeeper | |
assert (\Elgg\Request $request, Route $route) | |
Performs assertions. More... | |
assertPageOwner () | |
Asserts the pageowner. More... | |
getType () | |
Returns the type of the page owner to validate. More... | |
getSubtype () | |
Returns the subtype of the page owner to validate. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Elgg\Router\Middleware\PageOwnerGatekeeper | |
__invoke (\Elgg\Request $request) | |
Validate the current request. More... | |
Protected Attributes inherited from Elgg\Router\Middleware\PageOwnerGatekeeper | |
ElggEntity | $page_owner |
Check if the current route page owner can be edited (by the current logged in user)
Definition at line 12 of file PageOwnerCanEditGatekeeper.php.
|
protected |
{}
EntityPermissionsException |
Definition at line 19 of file PageOwnerCanEditGatekeeper.php.