Elgg  Version master
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 \ElggGroupif (empty( $info))
 

Variable Documentation

◆ $container

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

Definition at line 26 of file container_guid.php.

◆ $info

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

Definition at line 21 of file container_guid.php.

◆ $options

$options
Initial value:
= [
'name' => 'container_guid',
]
elgg_get_page_owner_guid()
Elgg page owner library.
Definition: pageowner.php:12

Entity container guid input.

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

Definition at line 12 of file container_guid.php.

◆ if

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

Definition at line 49 of file container_guid.php.