Lines Matching refs:class
99 $class = '\\dokuwiki\\Menu\\' . ucfirst($type) . 'Menu';
100 if (class_exists($class)) {
101 return new $class();
113 * @param string $class
117 public function newObj($class, $arguments = []) argument
120 if (class_exists($class)) {
121 $classname = $class;
123 $classname = '\\dokuwiki\\template\\' . $conf['template'] . '\\' . $class;
126 throw new RuntimeException("No such class $class");
138 * @param string $class
143 public function callStatic($class, $function, $arguments = []) argument
146 if (class_exists($class)) {
147 $classname = $class;
149 $classname = '\\dokuwiki\\template\\' . $conf['template'] . '\\' . $class;
152 throw new RuntimeException("No such class $class");
156 throw new BadMethodCallException("No such method $class::$function");