Elgg  Version master
default.php
Go to the documentation of this file.
1 <?php
6 $error = elgg_extract('error', $vars, elgg_echo('error:default: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
General error.
Definition: default.php:6
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition: default.php:25
elgg_view_message(string $type, string $body, array $vars=[])
Wrapper function for the message display pattern.
Definition: views.php:940