Elgg
Version 3.0
|
Protects a route from non-authenticated users in a walled garden mode. More...
Public Member Functions | |
__invoke (Request $request) | |
Gatekeeper. More... | |
Static Public Member Functions | |
static | isPublicPage ($url= '') |
Checks if the page should be allowed to be served in a walled garden mode. More... | |
Protects a route from non-authenticated users in a walled garden mode.
Definition at line 11 of file WalledGarden.php.
Elgg\Router\Middleware\WalledGarden::__invoke | ( | Request | $request | ) |
|
static |
Checks if the page should be allowed to be served in a walled garden mode.
Pages are registered to be public by { public_pages walled_garden}.
string | $url | Defaults to the current URL |
Definition at line 54 of file WalledGarden.php.