Elgg  Version 3.0
Variables
set_maintenance_mode.php File Reference

Go to the source code of this file.

Variables

 $site = elgg_get_site_entity()
 Form body for setting robots.txt. More...
 
 $mode = (int) elgg_get_config('elgg_maintenance_mode', null)
 
 $message = $site->getPrivateSetting('elgg_maintenance_message')
 
 if (!$message)
 
 $footer
 

Variable Documentation

$footer
Initial value:
'#type' => 'submit',
'value' => elgg_echo('save'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1395
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 37 of file set_maintenance_mode.php.

$message = $site->getPrivateSetting('elgg_maintenance_message')

Definition at line 9 of file set_maintenance_mode.php.

$mode = (int) elgg_get_config('elgg_maintenance_mode', null)

Definition at line 7 of file set_maintenance_mode.php.

Form body for setting robots.txt.

Definition at line 6 of file set_maintenance_mode.php.

if(!$message)

Definition at line 10 of file set_maintenance_mode.php.