Defines the default configuration object.

Hierarchy

Expanded class hierarchy of Config

File

core/includes/config.inc, line 395
This is the API for configuration storage.

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
Config::$context protected property The configuration context used for this configuration object.
Config::$data protected property The data of the configuration object.
Config::$isLoaded protected property Whether the configuration object has already been loaded.
Config::$isNew protected property Whether the configuration object is new or has been saved to the storage.
Config::$name protected property The name of the configuration object.
Config::$overrides protected property Any overrides specified for this configuration object.
Config::$storage protected property The storage used to load and save this configuration object.
Config::$validated protected property The state of validation on this object.
Config::clear public function Unsets a value in this configuration object.
Config::delete public function Deletes the configuration object.
Config::get public function Gets data from this configuration object.
Config::getData public function Gets all data from this configuration object.
Config::getName public function Returns the name of this configuration object.
Config::getOriginal public function Gets the current config value as specified in the written config storage.
Config::getOverride public function Checks if a config value has an override specified.
Config::getStorage public function Retrieves the storage used to load and save this configuration object.
Config::getTranslated public function Gets translated data from this configuration object.
Config::init public function Initializes a configuration object.
Config::initWithData public function Initializes a configuration object with pre-loaded data.
Config::isNew public function Returns whether this configuration object is new.
Config::isOverridden public function Check if a particular config key is overridden.
Config::load public function Loads configuration data into this object.
Config::MAX_NAME_LENGTH constant The maximum length of a configuration object name.
Config::replaceData protected function Replaces the data of this configuration object.
Config::save public function Saves the configuration object.
Config::set public function Sets a value in this configuration object.
Config::setData public function Replaces the data of this configuration object.
Config::setMultiple public function Sets multiple values in this configuration object.
Config::setName public function Sets the name of this configuration object.
Config::setOverrides public function Sets overrides for this configuration object.
Config::validateData public function Validate the full contents of the configuration data.
Config::validateName public static function Validates the configuration object name.
Config::__construct public function Constructs a configuration object.