Elgg  Version 1.11
Variables
summary.php File Reference

Go to the source code of this file.

Variables

 $entity = $vars['entity']
 Object summary. More...
 
 $title_link = elgg_extract('title', $vars, '')
 
if($title_link=== '') $metadata = elgg_extract('metadata', $vars, '')
 
 $subtitle = elgg_extract('subtitle', $vars, '')
 
 $content = elgg_extract('content', $vars, '')
 
 $tags = elgg_extract('tags', $vars, '')
 
if($tags=== '') if($metadataif ($title_link)
 

Variable Documentation

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

Definition at line 39 of file summary.php.

$entity = $vars['entity']

Object summary.

Sample output

  • Public
  • Like this

Title

Posted 3 hours ago by George

one, two

Excerpt text

$vars['entity'] ElggEntity $vars['title'] Title link (optional) false = no title, '' = default $vars['metadata'] HTML for entity menu and metadata (optional) $vars['subtitle'] HTML for the subtitle (optional) $vars['tags'] HTML for the tags (default is tags on entity, pass false for no tags) $vars['content'] HTML for the entity content (optional)

Definition at line 20 of file summary.php.

if ($title_link=== '') $metadata = elgg_extract('metadata', $vars, '')

Definition at line 37 of file summary.php.

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

Definition at line 38 of file summary.php.

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

Definition at line 41 of file summary.php.

$title_link = elgg_extract('title', $vars, '')

Definition at line 22 of file summary.php.

if ($tags=== '') if ($metadata) if($title_link)

Definition at line 49 of file summary.php.