$class_name"; echo "\n"; } } /** * 调用函数 * @param type $class * @param type $method * @return type */ public static function fire_theme_method($class, $method) { $fire_args = array(); $reflection = new ReflectionMethod($class, $method); foreach ($reflection->getParameters() AS $arg) { $fire_args[] = $arg->name; } return call_user_func_array(array($class, $method), $fire_args); } }