Elgg
Version 1.9
|
Go to the source code of this file.
Variables | |
if(isset($vars['class'])) | else |
Elgg access level input Displays a dropdown input field. More... | |
$defaults | |
$entity = elgg_extract('entity', $vars) | |
$container = elgg_get_page_owner_entity() | |
if($entity) | $vars = array_merge($defaults, $vars) |
Definition at line 30 of file access.php.
$defaults |
Definition at line 19 of file access.php.
$entity = elgg_extract('entity', $vars) |
Definition at line 26 of file access.php.
Definition at line 44 of file access.php.
if (($container instanceof ElggGroup)&&$container->getContentAccessMode()===ElggGroup::CONTENT_ACCESS_MODE_MEMBERS_ONLY &&!elgg_in_context('group-edit')&&!($entity &&$entity instanceof ElggGroup)) else |
Elgg access level input Displays a dropdown input field.
$vars['value'] The current value, if any $vars['options_values'] Array of value => label pairs (overrides default) $vars['name'] The name of the input field $vars['entity'] Optional. The entity for this access control (uses access_id) $vars['class'] Additional CSS class
Definition at line 15 of file access.php.