Elgg  Version 6.1
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'),
\Psr\Log\LogLevel::ERROR => elgg_echo('installation:debug:error'),
\Psr\Log\LogLevel::WARNING => elgg_echo('installation:debug:warning'),
\Psr\Log\LogLevel::NOTICE => elgg_echo('installation:debug:notice'),
\Psr\Log\LogLevel::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:1112
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
$help
Definition: debugging.php:9
$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

Definition at line 7 of file debugging.php.