13     $access_id = 
$vars[
'entity']->access_id;
 
   37 } 
else if (isset(
$vars[
'value'])) {
 
   38     $access_id = 
$vars[
'value'];
 
   41 if (!isset($access_id)) {
 
   53     'encode_text' => 
true,
 
get_readable_access_level($entity_access_id)
Return the name of an ACCESS_* constant or an access collection, but only if the logged in user has w...
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an \ElggEntity and optionally for type and subtype.
elgg_format_element($tag_name, array $attributes=array(), $text='', array $options=array())
Format an HTML element.
if(isset($vars['entity']) &&elgg_instanceof($vars['entity'])) else if(isset($vars['value'])) if(!isset($access_id)) $access_id_string
$access_class
Displays HTML with human readable representation of an access level.