Elgg  Version 2.3
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)
if(isset($vars['class'])) $vars['class']
Definition: error.php:14
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:336

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.