Elgg  Version master
Variables
byline.php File Reference

Go to the source code of this file.

Variables

 $annotation = elgg_extract('annotation', $vars)
 Displays information about the owner of the annotation. More...
 
if(!$annotation instanceof ElggAnnotation$show_links = elgg_extract('show_links', $vars, true)
 
 $byline_str = elgg_extract('byline', $vars, false)
 
if($byline_str===true) if (elgg_is_empty($byline_str))
 

Variable Documentation

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

Displays information about the owner of the annotation.

$vars['annotation'] The annotation to show the byline for $vars['byline'] Byline: true | false | string (default: false) If set to false, byline will not be rendered $vars['byline_owner_entity'] the owner entity to use for the byline (default: ElggAnnotation::getOwnerEntity()) $vars['show_links'] Owner and container text should show as links (default: true)

Definition at line 12 of file byline.php.

$byline_str = elgg_extract('byline', $vars, false)

Definition at line 19 of file byline.php.

if (!$annotation instanceof ElggAnnotation) $show_links = elgg_extract('show_links', $vars, true)

Definition at line 17 of file byline.php.

if ($byline_str===true) if(elgg_is_empty($byline_str))

Definition at line 29 of file byline.php.