Elgg  Version 3.0
Namespaces | Variables
update_basic.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Updates the advanced settings for the primary site object.
 

Variables

 $site = elgg_get_site_entity()
 
if(!$site) if(!($site instanceof ElggSite)) $site description = get_input('sitedescription')
 
$site name = strip_tags(get_input('sitename'))
 
$site email = get_input('siteemail')
 
 $allow_registration = ('on' === get_input('allow_registration', false))
 
 $walled_garden = ('on' === get_input('walled_garden', false))
 
 $default_limit = (int) get_input('default_limit')
 
 $forward = elgg_normalize_site_url(get_input('after_save')) ?: REFERER
 

Variable Documentation

Definition at line 27 of file update_basic.php.

Definition at line 36 of file update_basic.php.

Definition at line 43 of file update_basic.php.

Definition at line 13 of file update_basic.php.

$walled_garden = ('on' === get_input('walled_garden', false))

Definition at line 31 of file update_basic.php.

if (!$site) if (!($site instanceof ElggSite)) $site description = get_input('sitedescription')

Definition at line 21 of file update_basic.php.

$site email = get_input('siteemail')

Definition at line 23 of file update_basic.php.

string name = strip_tags(get_input('sitename'))

Definition at line 22 of file update_basic.php.