Elgg  Version master
Variables
contents.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Displays information about the author, the time and the access of the post. More...
 
 if (! $entity instanceof ElggEntity)
 
 $imprint = elgg_extract('imprint', $vars)
 

Variable Documentation

◆ $entity

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

Displays information about the author, the time and the access of the post.

@uses $vars['entity'] The entity to show the information for @uses $vars['byline'] Byline If not set, will display default author/container information If set to false, byline will not be rendered @uses $vars['show_links'] Owner and container text should show as links (default: true) @uses $vars['time'] Time of the post If not set, will display the time when the entity was created (time_created attribute) If set to false, time string will not be rendered @uses $vars['time_icon'] Icon name to be used with time info Set to false to not render an icon Default is 'history' @uses $vars['access'] Access level of the post If not set, will display the access level of the entity (access_id attribute) If set to false, will not be rendered @uses $vars['access_icon'] Icon name to be used with the access info Set to false to not render an icon Default is determined by access level ('user', 'globe', 'lock', or 'cog') @uses $vars['imprint'] An array of imprint elements ['icon_name' => 'calendar', 'content' => 'Starts on Jan 12']

Definition at line 26 of file contents.php.

◆ $imprint

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

Definition at line 35 of file contents.php.

◆ if

if(! $entity instanceof ElggEntity) ( ! $entity instanceof  ElggEntity)

Definition at line 27 of file contents.php.