Elgg  Version 3.0
Variables
debugging.php File Reference

Go to the source code of this file.

Variables

 $config = _elgg_config()
 Advanced site settings, debugging section. More...
 
 $value = $config->hasInitialValue('debug') ? $config->getInitialValue('debug') : $config->debug
 
 $help = elgg_echo('installation:debug')
 
if($config->hasInitialValue('debug')) $body
 

Variable Documentation

if ($config->hasInitialValue('debug')) $body
Initial value:
'#type' => 'select',
'options_values' => [
'' => elgg_echo('installation:debug:none'),
'ERROR' => elgg_echo('installation:debug:error'),
'WARNING' => elgg_echo('installation:debug:warning'),
'NOTICE' => elgg_echo('installation:debug:notice'),
'INFO' => elgg_echo('installation:debug:info'),
],
'name' => 'debug',
'#label' => elgg_echo('installation:debug:label'),
'#help' => $help,
'value' => $value,
'disabled' => $config->hasInitialValue('debug'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1395
$help
Definition: debugging.php:9
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$config
Advanced site settings, debugging section.
Definition: debugging.php:6
$value
Definition: debugging.php:7

Definition at line 14 of file debugging.php.

$config = _elgg_config()

Advanced site settings, debugging section.

Definition at line 6 of file debugging.php.

$help = elgg_echo('installation:debug')

Definition at line 9 of file debugging.php.

$value = $config->hasInitialValue('debug') ? $config->getInitialValue('debug') : $config->debug
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 7 of file debugging.php.