Elgg  Version 4.3
time.php
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;
11 
12 echo elgg_view('output/date', $vars);
$vars['class']
Definition: time.php:19
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:547
$format
Definition: time.php:32
elgg echo
Translates a string.
Definition: deprecated.js:530
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179
elgg_get_config($name, $default=null)
Get an Elgg configuration value.