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 }
getSiteUrl($site_guid=0)
Get the URL for the current (or specified) site.
if($guid==elgg_get_logged_in_user_guid()) $name
Definition: delete.php:21
getVolatile($name)
Get a config value for the current site if it&#39;s already loaded.
$value
Definition: longtext.php:42
Describes an object that manages Elgg configuration values.
Definition: Config.php:7
save($name, $value, $site_guid=0)
Save a configuration setting.
loadSettingsFile()
Merge the settings file into the storage object.
getPluginsPath()
Get the plugin path for this installation.
getDataPath()
Get the data directory path for this installation.
getCachePath()
Get the cache directory path for this installation.