Elgg  Version 6.1
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 = elgg_extract('entity', $vars)

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

$vars['entity'] The entity to show the information for $vars['byline'] Byline If not set, will display default author/container information If set to false, byline will not be rendered $vars['show_links'] Owner and container text should show as links (default: true) $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 $vars['time_icon'] Icon name to be used with time info Set to false to not render an icon Default is 'history' $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 $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') $vars['imprint'] An array of imprint elements ['icon_name' => 'calendar', 'content' => 'Starts on Jan 12']

Definition at line 26 of file contents.php.

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

Definition at line 35 of file contents.php.

if(!$entity instanceof ElggEntity)

Definition at line 27 of file contents.php.