Elgg  Version 2.3
Variables
content_access.php File Reference

Go to the source code of this file.

Variables

 $body
 Advanced site settings, content access section. More...
 

Variable Documentation

$body
Initial value:
'#type' => 'access',
'options_values' => [
ACCESS_PRIVATE => elgg_echo('PRIVATE'),
ACCESS_FRIENDS => elgg_echo('access:friends:label'),
ACCESS_LOGGED_IN => elgg_echo('LOGGED_IN'),
ACCESS_PUBLIC => elgg_echo('PUBLIC'),
],
'name' => 'default_access',
'#label' => elgg_echo('installation:sitepermissions'),
'#help' => elgg_echo('admin:site:access:warning'),
'value' => elgg_get_config('default_access'),
])
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1424
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
const ACCESS_FRIENDS
Definition: elgglib.php:2085
const ACCESS_PRIVATE
Definition: elgglib.php:2082
const ACCESS_PUBLIC
Definition: elgglib.php:2084
const ACCESS_LOGGED_IN
Definition: elgglib.php:2083

Advanced site settings, content access section.

Definition at line 6 of file content_access.php.