Elgg  Version 3.0
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 
if(!$entity instanceof ElggGroup$input_name = elgg_extract('input_name', $vars)
 
 $viewtype = elgg_get_viewtype()
 
 $icon
 
 $title = elgg_format_element('h3', [], $entity->getDisplayName())
 
 $label
 
 $data = $entity->toObject()
 
$data label = $label
 
$data value = $entity->guid
 
$data icon = $icon
 
 if ($input_name)
 

Variable Documentation

$data = $entity->toObject()

Definition at line 25 of file default.php.

$entity = elgg_extract('entity', $vars)

Definition at line 3 of file default.php.

$icon
Initial value:
'use_link' => false,
'href' => false,
])
elgg_view_entity_icon(\ElggEntity $entity, $size= 'medium', $vars=[])
View the icon of an entity.
Definition: views.php:899
$entity
Definition: default.php:16

Definition at line 14 of file default.php.

if (!$entity instanceof ElggGroup) $input_name = elgg_extract('input_name', $vars)

Definition at line 8 of file default.php.

Initial value:
'class' => 'elgg-autocomplete-item',
])
if(!$owner) $icon
Definition: default.php:16
elgg_view_image_block($image, $body, $vars=[])
Wrapper function for the image block display pattern.
Definition: views.php:1177
$title
Definition: default.php:31

Definition at line 21 of file default.php.

$title = elgg_format_element('h3', [], $entity->getDisplayName())

Definition at line 19 of file default.php.

$viewtype = elgg_get_viewtype()
$data icon = $icon

Definition at line 28 of file default.php.

if($input_name)

Definition at line 30 of file default.php.

$data label = $label

Definition at line 26 of file default.php.

$data value = $entity->guid
Examples:
/root/Elgg/views/default/core/js/elgglib.js.

Definition at line 27 of file default.php.