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