Defines the default configuration object.

Hierarchy

Expanded class hierarchy of Config

File

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

Members

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