Elgg  Version 2.3
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 echo elgg_view("input/$input_type", $vars);
$vars['entity']
$input_type
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:336
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:1375