28 if ($group->isToolEnabled($option)) {
33 $ex->setRedirectUrl($group->getURL());
50 if (\
Elgg\Application::isCli()) {
elgg_entity_gatekeeper($guid, $type=null, $subtype=null, $validate_can_edit=false)
Can the viewer see this entity?
elgg_signed_request_gatekeeper()
Validates if the HMAC signature of the current request is valid Issues 403 response if signature is i...
elgg_get_page_owner_guid()
Elgg page owner library.
elgg_get_current_url()
Returns the current page's complete URL.
elgg_group_tool_gatekeeper($option, $group_guid=null)
Checks if a group has a specific tool enabled.
elgg_gatekeeper()
Used at the top of a page to mark it as logged in users only.
_elgg_services()
Get the global service provider.
elgg_ajax_gatekeeper()
Require that the current request be an XHR.
elgg_admin_gatekeeper()
Used at the top of a page to mark it as admin only.
$guid
Reset an ElggUpgrade.
get_entity($guid)
Loads and returns an entity object from a guid.