function &recursiveFind($path, $types = 'dfl', $include_regex = '', $exclude_regex = '', $add_path = true, $include_hidden = false) { return fs :: walkDir($path, array('Fs', '_doRecursiveFind'), array('types' => $types, 'include_regex' => $include_regex, 'exclude_regex' => $exclude_regex, 'add_path' => $add_path, 'include_hidden' => $include_hidden), true); }