Lines Matching defs:class
18 class Configuration
185 * Instantiates the proper class for the given config key
187 * The class is added to the $settings or $undefined arrays and returned
196 $class = $this->determineClassName(array_shift($param), $key); // first param is class
197 $obj = new $class($key, $param);
207 * Return the class to load
209 * @param string $class the class name as given in the meta file
213 protected function determineClassName($class, $key)
215 // try namespaced class first
216 if (is_string($class)) {
217 $modern = str_replace('_', '', ucwords($class, '_'));
220 // try class as given
221 if (class_exists($class)) return $class;
222 // class wasn't found add to errors
225 // no class given, add to errors