Elgg  Version 2.3
debugging.php
Go to the documentation of this file.
1 <?php
7  '#type' => 'select',
8  'options_values' => [
9  '0' => elgg_echo('installation:debug:none'),
10  'ERROR' => elgg_echo('installation:debug:error'),
11  'WARNING' => elgg_echo('installation:debug:warning'),
12  'NOTICE' => elgg_echo('installation:debug:notice'),
13  'INFO' => elgg_echo('installation:debug:info'),
14  ],
15  'name' => 'debug',
16  '#label' => elgg_echo('installation:debug:label'),
17  '#help' => elgg_echo('installation:debug'),
18  'value' => elgg_get_config('debug'),
19 ]);
20 
21 echo elgg_view_module('inline', elgg_echo('admin:legend:debug'), $body, ['id' => 'elgg-settings-advanced-debugging']);
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
$body
Advanced site settings, debugging section.
Definition: debugging.php:6
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1424
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1250