Elgg  Version master
Variables
error.php File Reference

Go to the source code of this file.

Variables

if(elgg_get_context()== 'admin'&&elgg_is_admin_logged_in()) else
 Page shell for errors. More...
 

Variable Documentation

Initial value:
{
echo elgg_view('page/default', $vars)
$vars['filter']
Definition: error.php:17
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156

Page shell for errors.

This is for errors that are not unhandled exceptions. Those are handled through the failsafe viewtype to guarantee that no further exceptions occur. An example error would be 404 (page not found).

$vars['head'] Parameters for the <head> element $vars['body'] The main content of the page $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()

Definition at line 16 of file error.php.