Elgg  Version 6.1
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)
 
 switch ($access_id)
 

Variable Documentation

if ($entity instanceof\ElggEntity) if (!isset($access_id)) $access_id = elgg_extract('value', $vars)

Definition at line 10 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 12 of file access.php.

switch($access_id)

Definition at line 22 of file access.php.