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($metadata) if ( $title_link)
 

Variable Documentation

◆ $content

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

Definition at line 39 of file summary.php.

◆ $entity

$entity = $vars['entity']

Object summary.

Sample output

  • Public
  • Like this

Title

Posted 3 hours ago by George

one, two

Excerpt text

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

Definition at line 20 of file summary.php.

◆ $metadata

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

Definition at line 37 of file summary.php.

◆ $subtitle

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

Definition at line 38 of file summary.php.

◆ $tags

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

Definition at line 41 of file summary.php.

◆ $title_link

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

Definition at line 22 of file summary.php.

◆ if

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

Definition at line 49 of file summary.php.