Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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_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