Elgg  Version master
Protected Member Functions | List of all members
Elgg\Router\Middleware\UserPageOwnerGatekeeper Class Reference

Check if the current route has a page owner entity and it is a user. More...

Inheritance diagram for Elgg\Router\Middleware\UserPageOwnerGatekeeper:
Elgg\Router\Middleware\PageOwnerGatekeeper

Protected Member Functions

 getType ()
 
- 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
 

Detailed Description

Check if the current route has a page owner entity and it is a user.

Since
5.0

Definition at line 10 of file UserPageOwnerGatekeeper.php.

Member Function Documentation

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

Definition at line 15 of file UserPageOwnerGatekeeper.php.


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