Elgg
Version 6.1
|
Go to the source code of this file.
Variables | |
$entity = elgg_extract('entity', $vars) | |
Displays information about access of the post. More... | |
if(!$entity instanceof ElggEntity) | $access = elgg_extract('access', $vars) |
switch($access) | $content |
if (!isset($access)) if ($access===false||!elgg_is_logged_in()) $access = elgg_extract('access', $vars) |
Definition at line 19 of file access.php.
switch ($access) $content |
Definition at line 46 of file access.php.
$entity = elgg_extract('entity', $vars) |
Displays information about access of the post.
$vars['entity'] The entity to show the byline for $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')
Definition at line 14 of file access.php.