Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
error.php
Go to the documentation of this file.
1 <?php
10 $class = 'elgg-layout-error';
11 if (isset($vars['class'])) {
12  $class = "$class {$vars['class']}";
13 }
14 $vars['class'] = $class;
15 $vars['nav'] = ''; // prevents outputting breadcrumbs
16 
17 echo elgg_view('page/layouts/one_column', $vars);
if(isset($vars['class'])) $vars['class']
Definition: error.php:14
$class
Error layout.
Definition: error.php:10
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342