Elgg  Version 2.2
Go to the documentation of this file.
1 <?php
6 $input_type = elgg_extract('input_type', $vars);
7 unset($vars['input_type']);
9 echo elgg_view("input/$input_type", $vars);
Helper view that can be used to filter vars for all input views.
Definition: input.php:6
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
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:1310