Elgg  Version 3.0
Variables
access.php File Reference

Go to the source code of this file.

Variables

 $class = elgg_extract_class($vars, 'elgg-access')
 Displays HTML with human readable representation of an access level. More...
 
 $access_id = elgg_extract('value', $vars)
 
 $entity = elgg_extract('entity', $vars)
 
if($entity instanceof ElggEntity) if(!isset($access_id)) $access_id_string = get_readable_access_level($access_id)
 
 switch ($access_id)
 

Variable Documentation

Definition at line 11 of file access.php.

if ($entity instanceof ElggEntity) if (!isset($access_id)) $access_id_string = get_readable_access_level($access_id)

Definition at line 22 of file access.php.

$class = elgg_extract_class($vars, 'elgg-access')

Displays HTML with human readable representation of an access level.

ElggEntity $vars['entity'] Optional. The entity whose access ID to display. If provided, additional logic is used to determine CSS classes int $vars['value'] Optional. Access ID to display.

Definition at line 9 of file access.php.

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

Definition at line 13 of file access.php.

switch($access_id)

Definition at line 24 of file access.php.