Elgg  Version 3.0
edit.php
Go to the documentation of this file.
1 <?php
6 echo elgg_view('object/widget/edit/num_display', [
7  'entity' => elgg_extract('entity', $vars),
8  'default' => 4,
9 ]);
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
$vars['type']
Definition: save.php:11
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246