Elgg  Version 4.3
input.php
Go to the documentation of this file.
1 <?php
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:135
$input
Definition: input.php:9
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:547
elgg echo
Translates a string.
Definition: deprecated.js:530
$vars['head']
Definition: html.php:24
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179