Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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.
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:1991
const ACCESS_PRIVATE
Definition: elgglib.php:1988
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
const ACCESS_PUBLIC
Definition: elgglib.php:1990
const ACCESS_LOGGED_IN
Definition: elgglib.php:1989

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(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342

Definition at line 18 of file content_access.php.