13 $access_id =
$vars[
'entity']->access_id;
37 }
else if (isset(
$vars[
'value'])) {
38 $access_id =
$vars[
'value'];
41 if (!isset($access_id)) {
48 '#tag_name' =>
'span',
53 'encode_text' =>
true,
if(isset($vars['entity'])&&elgg_instanceof($vars['entity'])) else if(isset($vars['value'])) if(!isset($access_id)) $access_id_string
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an and optionally for type and subtype.
elgg echo
Translates a string.
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...
$access_class
Displays HTML with human readable representation of an access level.