51 foreach ( $this->configs as $config ) {
52 if ( $config->has( $name ) ) {
53 return $config->get( $name );
57 throw new ConfigException( __METHOD__ .
": undefined option: '$name'" );
63 public function has( $name ) {
64 foreach ( $this->configs as $config ) {
65 if ( $config->has( $name ) ) {
Exceptions for config failures.
Provides a fallback sequence for Config objects.
__construct(array $configs)
Config[] $configs
Array of Config objects to use Order matters, the Config objects will be checked in order to see whet...
Allows to change the fields on the form that will be generated $name
Interface for configuration instances.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))