Elgg  Version 6.3
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

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

Displays information about the owner of the annotation.

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

Definition at line 12 of file byline.php.

◆ $byline_str

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

Definition at line 19 of file byline.php.

◆ $show_links

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

Definition at line 17 of file byline.php.

◆ if

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

Definition at line 29 of file byline.php.