Defines the default configuration object.

Hierarchy

Expanded class hierarchy of Config

File

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

Members

Contains filters are case sensitive
Name Modifiers Type Descriptionsort descending
Config::__construct public function Constructs a configuration object.
Config::delete public function Deletes the configuration object.
Config::get public function Gets data from this configuration object.
Config::getTranslated public function Gets translated data from this configuration object.
Config::initWithData public function Initializes a configuration object with pre-loaded data.
Config::init public function Initializes a configuration object.
Config::load public function Loads configuration data into this object.
Config::setData public function Replaces the data of this configuration object.
Config::replaceData protected function Replaces the data of this configuration object.
Config::getStorage public function Retrieves the storage used to load and save this configuration object.
Config::getName public function Returns the name of this configuration object.
Config::isNew public function Returns whether this configuration object is new.
Config::save public function Saves the configuration object.
Config::set public function Sets a value in 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::$context protected property The configuration context used for this configuration object.
Config::$data protected property The data of the configuration object.
Config::MAX_NAME_LENGTH constant The maximum length of a configuration object name.
Config::$name protected property The name 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::clear public function Unsets a value in 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::$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.