Elgg  Version master
Variables
objectpicker.php File Reference

Go to the source code of this file.

Variables

if(!isset($vars['name'])) $vars ['match_on'] = elgg_extract('match_on', $vars, 'objects')
 Elgg object picker. More...
 
 $vars ['class'] = elgg_extract_class($vars, ['elgg-object-picker'])
 
 $options = (array) elgg_extract('options', $vars, [])
 
 $options ['subtype'] = elgg_extract('subtype', $vars)
 
 $vars ['options'] = $options
 

Variable Documentation

$options = (array) elgg_extract('options', $vars, [])

Definition at line 19 of file objectpicker.php.

$options['subtype'] = elgg_extract('subtype', $vars)

Definition at line 20 of file objectpicker.php.

if (!isset($vars['name'])) $vars['match_on'] = elgg_extract('match_on', $vars, 'objects')

Elgg object picker.

$vars['values'] Array of object guids for already selected objects or null $vars['limit'] Limit number of object (default 0 = no limit) $vars['name'] Name of the returned data array (default "guids") $vars['handler'] Name of page handler used to power search (default "livesearch") $vars['subtype'] which subtype of objects to search for

Definition at line 16 of file objectpicker.php.

$vars['class'] = elgg_extract_class($vars, ['elgg-object-picker'])

Definition at line 17 of file objectpicker.php.

$vars['options'] = $options

Definition at line 22 of file objectpicker.php.