Elgg  Version 6.1
week.php
Go to the documentation of this file.
1 <?php
9 $vars['format'] = elgg_extract('format', $vars, 'Y W');
10 
11 echo elgg_view('output/date', $vars);
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:256
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
$vars['class']
Elgg week input Displays a week input field.
Definition: week.php:7