Elgg  Version 1.11
Variables
content_access.php File Reference

Go to the source code of this file.

Variables

 $default_access_label = elgg_echo('installation:sitepermissions')
 Advanced site settings, content access section. More...
 
 $default_access_input
 
 $user_default_access_input
 

Variable Documentation

$default_access_input
Initial value:
= elgg_view('input/access', array(
'options_values' => array(
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',
'value' => elgg_get_config('default_access'),
))
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
const ACCESS_FRIENDS
Definition: elgglib.php:1957
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
const ACCESS_PRIVATE
Definition: elgglib.php:1954
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
const ACCESS_PUBLIC
Definition: elgglib.php:1956
const ACCESS_LOGGED_IN
Definition: elgglib.php:1955

Definition at line 7 of file content_access.php.

$default_access_label = elgg_echo('installation:sitepermissions')

Advanced site settings, content access section.

Definition at line 6 of file content_access.php.

$user_default_access_input
Initial value:
= elgg_view('input/checkbox', array(
'label' => elgg_echo('installation:allow_user_default_access:label'),
'name' => 'allow_user_default_access',
'checked' => (bool)elgg_get_config('allow_user_default_access'),
))
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354

Definition at line 18 of file content_access.php.