Elgg  Version 3.0
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']
Elgg time input Displays a select field with time options.
Definition: time.php:16
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
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:1131
$format
Definition: time.php:30
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246
elgg_get_config($name, $default=null)
Get an Elgg configuration value.