Elgg
Version 1.11
|
Public Member Functions | |
__construct () | |
Constructor. More... | |
getSiteUrl ($site_guid=0) | |
Get the URL for the current (or specified) site. More... | |
getPluginsPath () | |
Get the plugin path for this installation. More... | |
getDataPath () | |
Get the data directory path for this installation. More... | |
getRootPath () | |
Get the root directory path for this installation. More... | |
get ($name, $site_guid=0) | |
Get an Elgg configuration value. More... | |
set ($name, $value) | |
Set an Elgg configuration value. More... | |
save ($name, $value, $site_guid=0) | |
Save a configuration setting. More... | |
Definition at line 14 of file Config.php.
Elgg\Config::__construct | ( | ) |
Constructor.
Definition at line 25 of file Config.php.
Elgg\Config::get | ( | $name, | |
$site_guid = 0 |
|||
) |
Get an Elgg configuration value.
string | $name | Name of the configuration value |
int | $site_guid | null for installation setting, 0 for default site |
Definition at line 90 of file Config.php.
Elgg\Config::getDataPath | ( | ) |
Get the data directory path for this installation.
Definition at line 67 of file Config.php.
Elgg\Config::getPluginsPath | ( | ) |
Elgg\Config::getRootPath | ( | ) |
Get the root directory path for this installation.
Definition at line 77 of file Config.php.
Elgg\Config::getSiteUrl | ( | $site_guid = 0 | ) |
Get the URL for the current (or specified) site.
int | $site_guid | The GUID of the site whose URL we want to grab |
Definition at line 36 of file Config.php.
Elgg\Config::save | ( | $name, | |
$value, | |||
$site_guid = 0 |
|||
) |
Save a configuration setting.
string | $name | Configuration name (cannot be greater than 255 characters) |
mixed | $value | Configuration value. Should be string for installation setting |
int | $site_guid | null for installation setting, 0 for default site |
Definition at line 156 of file Config.php.
Elgg\Config::set | ( | $name, | |
$value | |||
) |
Set an Elgg configuration value.
string | $name | Name of the configuration value |
mixed | $value | Value |
Definition at line 139 of file Config.php.