Elgg  Version 3.0
input.php
Go to the documentation of this file.
1 <?php
2 
6 $input_type = elgg_extract('input_type', $vars);
7 unset($vars['input_type']);
8 
9 $input = elgg_view("input/$input_type", $vars);
10 
12  'class' => 'elgg-field-input',
13 ], $input);
$input_type
Helper view that can be used to filter vars for all input views.
Definition: input.php:6
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
$input
Definition: input.php: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