Go to the source code of this file.
Initial value: 'filter' => false,
])
elgg_view_layout(string $layout_name, array $vars=[])
Displays a layout with optional parameters.
if(isset($httpCodes[$type])) $layout
$content
Set robots.txt action.
Definition at line 48 of file error.php.
Initial value:= [
'400' => 'Bad Request'
Definition at line 32 of file error.php.
The generic error page.
$vars['current_url'] The current page url $vars['forward_url'] The HTTP Referer url $vars['type'] The type of error (400, 403, 404, etc) $vars['exception'] The exception which cause this page (instance of Elgg) $vars['params']['error'] The error text for the page
- See also
- ::respondWithError()
Definition at line 14 of file error.php.
Initial value:{
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
$content
Set robots.txt action.
Definition at line 28 of file error.php.