Elgg  Version 3.0
Variables
summary.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 Short summary of the action that occurred. More...
 
if(!$item instanceof ElggRiverItem$subject = $item->getSubjectEntity()
 
if(!$subject instanceof ElggEntity$object = $item->getObjectEntity()
 
if(!$object instanceof ElggEntity$subject_link
 
 $object_link
 
 $action = $item->action_type
 
 $type = $item->type
 
 $subtype = $item->subtype
 
 $group_string = ''
 
 $container = $object->getContainerEntity()
 
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key = false
 
 $keys
 
foreach($keys as $try_key) if($key===false) $summary = ''
 
 if ($key!==false)
 

Variable Documentation

$action = $item->action_type

Definition at line 38 of file summary.php.

$container = $object->getContainerEntity()

Definition at line 44 of file summary.php.

$group_string = ''

Definition at line 43 of file summary.php.

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

Short summary of the action that occurred.

['item'] ElggRiverItem

Definition at line 8 of file summary.php.

if ($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key = false
$keys
Initial value:
= [
"river:{$type}:{$subtype}:{$action}",
"river:{$type}:{$subtype}:default",
"river:{$type}:{$action}",
"river:{$type}:default",
]

Definition at line 56 of file summary.php.

if (!$subject instanceof ElggEntity) $object = $item->getObjectEntity()

Definition at line 18 of file summary.php.

$object_link
Initial value:
= elgg_view('output/url', [
'href' => $object->getURL(),
'class' => 'elgg-river-object',
'is_trusted' => true,
])
elgg_get_excerpt($text, $num_chars=250)
Returns an excerpt.
Definition: output.php:74
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246
getURL()
Gets the URL for this entity.
if(!$subject instanceof ElggEntity) $object
Definition: summary.php:18
getDisplayName()
Get the entity's display name.
Definition: ElggEntity.php:307

Definition at line 31 of file summary.php.

if (!$item instanceof ElggRiverItem) $subject = $item->getSubjectEntity()

Definition at line 13 of file summary.php.

if (!$object instanceof ElggEntity) $subject_link
Initial value:
= elgg_view('output/url', [
'href' => $subject->getURL(),
'text' => $subject->getDisplayName(),
'class' => 'elgg-river-subject',
'is_trusted' => true,
])
if(!$item instanceof ElggRiverItem) $subject
Definition: summary.php:13
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 23 of file summary.php.

$subtype = $item->subtype

Definition at line 40 of file summary.php.

foreach ($keys as $try_key) if ($key===false) $summary = ''

Definition at line 85 of file summary.php.

$type = $item->type

Definition at line 39 of file summary.php.

if($key!==false)

Definition at line 86 of file summary.php.