Elgg  Version 6.2
Protected Member Functions | List of all members
Elgg\Router\Middleware\GroupPageOwnerCanEditGatekeeper Class Reference

Check if the current route page owner can be edited (by the current logged in user) and is an group. More...

Inheritance diagram for Elgg\Router\Middleware\GroupPageOwnerCanEditGatekeeper:
Elgg\Router\Middleware\PageOwnerCanEditGatekeeper Elgg\Router\Middleware\PageOwnerGatekeeper

Protected Member Functions

 getType ()
 Returns the type of the page owner to validate.
Returns
string
More...
 
- Protected Member Functions inherited from Elgg\Router\Middleware\PageOwnerCanEditGatekeeper
 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...
 
 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
 

Detailed Description

Check if the current route page owner can be edited (by the current logged in user) and is an group.

Since
3.2

Definition at line 10 of file GroupPageOwnerCanEditGatekeeper.php.

Member Function Documentation

◆ getType()

Elgg\Router\Middleware\GroupPageOwnerCanEditGatekeeper::getType ( )
protected

Returns the type of the page owner to validate.

Returns
string

Reimplemented from Elgg\Router\Middleware\PageOwnerGatekeeper.

Definition at line 15 of file GroupPageOwnerCanEditGatekeeper.php.


The documentation for this class was generated from the following file: