35     return _elgg_services()->router->registerPageHandler($identifier, $function);
 
  118     if (
null === $group_guid) {
 
  129     if (!$visibility->shouldHideItems) {
 
  139             $forward_reason = 
'login';
 
  141             $forward_reason = 
'member';
 
  145             'non_member' => 
'membershiprequired',
 
  146             'logged_out' => 
'loggedinrequired',
 
  147             'no_access' => 
'noaccess',
 
  254         if (
$title == 
"error:$type:title") {
 
  266         '400' => 
'Bad Request',
 
  267         '401' => 
'Unauthorized',
 
  268         '403' => 
'Forbidden',
 
  269         '404' => 
'Not Found',
 
  270         '407' => 
'Proxy Authentication Required',
 
  271         '500' => 
'Internal Server Error',
 
  272         '503' => 
'Service Unavailable',
 
  275     if (isset($httpCodes[
$type])) {
 
  276         header(
"HTTP/1.1 $type {$httpCodes[$type]}");
 
$content
Set robots.txt action.
 
static factory($container_guid, $use_cache=true)
Determine visibility of items within a container for the current user.
 
$guid
Removes an admin notice.
 
register_error($error)
Display an error on next page load.
 
elgg_register_plugin_hook_handler($hook, $type, $callback, $priority=500)
Register a callback as a plugin hook handler.
 
system_message($message)
Display a system message on next page load.
 
elgg_register_event_handler($event, $object_type, $callback, $priority=500)
Register a callback as an Elgg event handler.
 
forward($location="", $reason='system')
Forward to $location.
 
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
 
elgg_list_river(array $options=array())
List river items.
 
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an ElggEntity and optionally for type and subtype.
 
get_entity($guid)
Loads and returns an entity object from a guid.
 
elgg_entity_exists($guid)
Does an entity exist?
 
gatekeeper()
Alias of elgg_gatekeeper()
 
admin_gatekeeper()
Alias of elgg_admin_gatekeeper()
 
elgg_group_gatekeeper($forward=true, $group_guid=null)
May the current user access item(s) on this page? If the page owner is a group, membership,...
 
elgg_register_page_handler($identifier, $function)
Registers a page handler for a particular identifier.
 
elgg_gatekeeper()
Used at the top of a page to mark it as logged in users only.
 
elgg_entity_gatekeeper($guid, $type=null, $subtype=null)
Can the viewer see this entity?
 
elgg_admin_gatekeeper()
Used at the top of a page to mark it as admin only.
 
_elgg_page_handler_init()
Initializes the page handler/routing system.
 
elgg_front_page_handler()
Front page handler.
 
elgg_unregister_page_handler($identifier)
Unregister a page handler for an identifier.
 
elgg_error_page_handler($hook, $type, $result, $params)
Serve an error page.
 
group_gatekeeper($forward=true, $page_owner_guid=null)
May the current user access item(s) on this page? If the page owner is a group, membership,...
 
elgg_get_page_owner_guid($guid=0)
Gets the guid of the entity that owns the current page.
 
elgg_is_admin_logged_in()
Returns whether or not the viewer is currently logged in and an admin user.
 
elgg_is_logged_in()
Returns whether or not the user is currently logged in.
 
clearfix elgg elgg elgg elgg page header
 
elgg_view_layout($layout_name, $vars=array())
Displays a layout with optional parameters.
 
elgg_view_page($title, $body, $page_shell='default', $vars=array())
Assembles and outputs a full page.
 
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype='')
Return a parsed view.
 
elgg_view_exists($view, $viewtype='', $recurse=true)
Returns whether the specified view exists.