Elgg  Version 1.10
Namespaces | Variables
default.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $icon = elgg_view_entity_icon($vars['entity'], 'small')
 
 $title = $vars['entity']->title
 
if(!$title) if(!$title) if(elgg_instanceof($vars['entity'], 'object')) $owner_link = ''
 
 $owner = $vars['entity']->getOwnerEntity()
 
if($owner) $date = elgg_view_friendly_time($vars['entity']->getTimeCreated())
 
 $subtitle = "$owner_link $date"
 
 $params
 
 $body = elgg_view('object/elements/summary', $params)
 

Variable Documentation

$body = elgg_view('object/elements/summary', $params)

Definition at line 46 of file default.php.

if ($owner) $date = elgg_view_friendly_time($vars['entity']->getTimeCreated())

Definition at line 35 of file default.php.

$icon = elgg_view_entity_icon($vars['entity'], 'small')

Definition at line 11 of file default.php.

$owner = $vars['entity']->getOwnerEntity()

Definition at line 26 of file default.php.

if (!$title) if (!$title) if (elgg_instanceof($vars['entity'], 'object')) $owner_link = ''

Definition at line 25 of file default.php.

$params
Initial value:
= array(
'entity' => $vars['entity'],
'title' => $title,
'metadata' => $metadata,
'subtitle' => $subtitle,
)
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition: default.php:23
if(!$title) $metadata
Definition: default.php:32
$subtitle
Definition: default.php:37
$title
Definition: default.php:32

Definition at line 39 of file default.php.

$subtitle = "$owner_link $date"

Definition at line 37 of file default.php.

$title = $vars['entity']->title

Definition at line 13 of file default.php.