Elgg  Version 2.2
Namespaces | Variables
default_access.php File Reference

Go to the source code of this file.


 Save menu items.


if(!elgg_get_config('allow_user_default_access')) $user = elgg_get_page_owner_entity()
if(!$user instanceof ElggUser$default_access = $user->getPrivateSetting('elgg_default_access')
if($default_access===null) $title = elgg_echo('default_access:settings')

Variable Documentation

Initial value:
= elgg_view_input('access', array(
'name' => 'default_access',
'value' => $default_access,
'label' => elgg_echo('default_access:label'),
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view_input($input_type, array $vars=array())
Renders a form field.
Definition: views.php:1332
if(!$user instanceof ElggUser) $default_access

Definition at line 24 of file default_access.php.

if (!$user instanceof ElggUser) $default_access = $user->getPrivateSetting('elgg_default_access')

Definition at line 18 of file default_access.php.

if ($default_access===null) $title = elgg_echo('default_access:settings')

Definition at line 23 of file default_access.php.

Definition at line 12 of file default_access.php.