Elgg  Version 5.1
400.php
Go to the documentation of this file.
1 <?php
6 $error = elgg_extract('error', $vars, elgg_echo('error:400:content'));
7 echo elgg_view_message('error', $error);
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
$error
Bad request error.
Definition: 400.php:6
$vars
Definition: theme.php:5
elgg_view_message(string $type, string $body, array $vars=[])
Wrapper function for the message display pattern.
Definition: views.php:961