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 [1/2]

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

Definition at line 19 of file objectpicker.php.

◆ $options [2/2]

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

Definition at line 20 of file objectpicker.php.

◆ $vars [1/3]

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

Definition at line 17 of file objectpicker.php.

◆ $vars [2/3]

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

Elgg object picker.

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

Definition at line 16 of file objectpicker.php.

◆ $vars [3/3]

$vars[ 'options'] = $options

Definition at line 22 of file objectpicker.php.