sfConfig stores all configuration information for a symfony application.
Method Summary
-
add()
Sets an array of config parameters.
-
clear()
Clears all current config parameters.
-
mixed
get(, )
Retrieves a config parameter.
-
array
getAll()
Retrieves all configuration parameters.
-
bool
has()
Indicates whether or not a config parameter exists.
-
set(, )
Sets a config parameter.
Method Details
-
Sets an array of config parameters.
If an existing config parameter name matches any of the keys in the supplied
array, the associated value will be overridden.
-
Clears all current config parameters.
-
Retrieves a config parameter.
returns A config parameter value, if the config parameter exists, otherwise null
-
Retrieves all configuration parameters.
returns An associative array of configuration parameters.
-
Indicates whether or not a config parameter exists.
returns true, if the config parameter exists, otherwise false
-
Sets a config parameter.
If a config parameter with the name already exists the value will be overridden.
|