Elgg  Version master
Go to the documentation of this file.
1 <?php
9 $format = elgg_extract('format', $vars, elgg_get_config('time_format', elgg_echo('input:time_format')), false);
10 $vars['format'] = $format;
12 echo elgg_view('output/date', $vars);
Definition: time.php:19
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
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
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
Definition: time.php:31