Elgg  Version 2.3
Namespaces | Variables
autocomplete.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

if(isset($vars['class'])) else
 
 $defaults
 
 $vars = array_merge($defaults, $vars)
 
 $params = array()
 
if(isset($vars['match_on'])) if(isset($vars['match_owner'])) $vars ['type'] = 'text'
 
 $vars ['data-source'] = elgg_get_site_url() . 'livesearch?' . http_build_query($params)
 

Variable Documentation

Initial value:
= array(
'value' => '',
'disabled' => false,
)
Examples:
/root/Elgg/engine/classes/Elgg/FormsService.php, and /root/Elgg/engine/lib/views.php.

Definition at line 22 of file autocomplete.php.

$params = array()

Definition at line 29 of file autocomplete.php.

$vars = array_merge($defaults, $vars)

Definition at line 27 of file autocomplete.php.

if (isset($vars['match_on'])) if (isset($vars['match_owner'])) $vars['type'] = 'text'

Definition at line 38 of file autocomplete.php.

$vars['data-source'] = elgg_get_site_url() . 'livesearch?' . http_build_query($params)

Definition at line 39 of file autocomplete.php.

if (isset($vars['class'])) else
Initial value:
{
$vars['class'] = "elgg-input-autocomplete"
$vars

Definition at line 18 of file autocomplete.php.