Elgg  Version 2.3
Config.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg\Services;
3 
7 interface Config {
8 
15  public function getSiteUrl($site_guid = 0);
16 
22  public function getPluginsPath();
23 
29  public function getDataPath();
30 
38  public function getCachePath();
39 
51  public function get($name, $site_guid = 0);
52 
61  public function getVolatile($name);
62 
73  public function set($name, $value);
74 
84  public function save($name, $value, $site_guid = 0);
85 
95  public function loadSettingsFile();
96 }
if($guid==elgg_get_logged_in_user_guid()) $name
Definition: delete.php:21
$value
Definition: longtext.php:42
Describes an object that manages Elgg configuration values.
Definition: Config.php:7
loadSettingsFile()
Merge the settings file into the storage object.
getCachePath()
Get the cache directory path for this installation.
getPluginsPath()
Get the plugin path for this installation.
getSiteUrl($site_guid=0)
Get the URL for the current (or specified) site.
getDataPath()
Get the data directory path for this installation.
getVolatile($name)
Get a config value for the current site if it's already loaded.
save($name, $value, $site_guid=0)
Save a configuration setting.