Check if the current route has a page owner entity.
More...
Check if the current route has a page owner entity.
- Since
- 5.0
Definition at line 13 of file PageOwnerGatekeeper.php.
Elgg\Router\Middleware\PageOwnerGatekeeper::__invoke |
( |
\Elgg\Request |
$request | ) |
|
Validate the current request.
- Parameters
-
\Elgg\Request | $request | the current request |
- Returns
- void
- Exceptions
-
Definition at line 25 of file PageOwnerGatekeeper.php.
Elgg\Router\Middleware\PageOwnerGatekeeper::assert |
( |
\Elgg\Request |
$request, |
|
|
Route |
$route |
|
) |
| |
|
protected |
Performs assertions.
- Parameters
-
\Elgg\Request | $request | the current request |
\Elgg\Router\Route | $route | the current route |
- Returns
- void
Definition at line 53 of file PageOwnerGatekeeper.php.
Elgg\Router\Middleware\PageOwnerGatekeeper::assertPageOwner |
( |
| ) |
|
|
protected |
Elgg\Router\Middleware\PageOwnerGatekeeper::getSubtype |
( |
| ) |
|
|
protected |
Elgg\Router\Middleware\PageOwnerGatekeeper::getType |
( |
| ) |
|
|
protected |
ElggEntity Elgg\Router\Middleware\PageOwnerGatekeeper::$page_owner |
|
protected |
The documentation for this class was generated from the following file: