Method | Description | |
---|---|---|
del_recursive ( $root ) | ----------------------------------------------------------------------+ | |
find ( $directory, $match, $ignore = null ) : Array | ----------------------------------------------------------------------+ | |
scan ( $directory, $func, $match, $ignore = '/^(\..*|CVS)$/' ) | ----------------------------------------------------------------------+ | |
write_file ( $file, $content, $mode = 'w', $perm = 436 ) : Bool | ----------------------------------------------------------------------+ |
public static del_recursive ( $root ) | ||
$root | String ----------------------------------------------------------------------+ |
public static find ( $directory, $match, $ignore = null ) : Array | ||
$directory | String | |
$match | String REGEX | |
$ignore | String REGEX | |
return | Array | ----------------------------------------------------------------------+ |
public static scan ( $directory, $func, $match, $ignore = '/^(\..*|CVS)$/' ) | ||
$directory | String root_path | |
$func | String user function | |
$match | String REGEX | |
$ignore | String REGEX |
public static write_file ( $file, $content, $mode = 'w', $perm = 436 ) : Bool | ||
$file | String | |
$content | String | |
$mode | String [r,r+,w,w+,a,a+,x,x+][bt] | |
$perm | Oct | |
return | Bool | ----------------------------------------------------------------------+ |