33 '400' =>
'Bad Request',
34 '401' =>
'Unauthorized',
37 '407' =>
'Proxy Authentication Required',
38 '500' =>
'Internal Server Error',
39 '503' =>
'Service Unavailable',
elgg_is_logged_in()
Returns whether or not the user is currently logged in.
elgg_view_layout(string $layout_name, array $vars=[])
Displays a layout with optional parameters.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_is_admin_logged_in()
Returns whether or not the viewer is currently logged in and an admin user.
elgg_in_context(string $context)
Check if this context exists anywhere in the stack.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
$type
The generic error page.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_set_http_header(string $header, bool $replace=true)
Set a response HTTP header.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_language_key_exists(string $key, string $language= 'en')
Check if a given language key exists.
elgg_view_page(string $title, string|array $body, string $page_shell= 'default', array $vars=[])
Assembles and outputs a full page.
if(isset($httpCodes[$type])) $layout
$content
Set robots.txt action.
elgg_view_exists(string $view, string $viewtype= '', bool $recurse=true)
Returns whether the specified view exists.