Elgg  Version 5.1
Variables
container_guid.php File Reference

Go to the source code of this file.

Variables

 $options
 Entity container guid input. More...
 
 $info = elgg_extract('container_info', $vars)
 
if($info===false) $container = get_entity((int) $options['value'])
 
if(empty($info)&&$container instanceof\ElggGroup) if (empty($info))
 

Variable Documentation

if ($info===false) $container = get_entity((int) $options['value'])

Definition at line 26 of file container_guid.php.

$info = elgg_extract('container_info', $vars)

Definition at line 21 of file container_guid.php.

$options
Initial value:
= [
'name' => 'container_guid'

Entity container guid input.

$vars['name'] Optional. Name of the container guid hidden input $vars['value'] Optional. Current value of the input. Will default to the pageowner guid $vars['entity_type'] Optional. Type of the entity. Used for determining container information $vars['entity_subtype'] Optional. Subtype of the entity. Used for determining container information $vars['container_info'] Optional. Helptext to show related to the container_guid

Definition at line 12 of file container_guid.php.

if (empty($info)&&$container instanceof\ElggGroup) if(empty($info))

Definition at line 49 of file container_guid.php.