dr_get_array_key()
dr_get_array_key( $array, $value)
http://www.kaiqibao.net 本文件是框架系统文件,二次开发时不可以修改本文件
Parameters
$array | ||
$value |
dr_dir_map(string $source_dir, integer $directory_depth, boolean $hidden = FALSE) : array
目录扫描
string | $source_dir | Path to source |
integer | $directory_depth | Depth of directories to traverse (0 = fully recursive, 1 = current dir, etc) |
boolean | $hidden | Whether to show hidden files |
dr_directory_map(string $source_dir, integer $directory_depth, boolean $hidden = FALSE) : array
Create a Directory Map
Reads the specified directory and builds an array representation of it. Sub-folders contained with the directory will be mapped as well.
string | $source_dir | Path to source |
integer | $directory_depth | Depth of directories to traverse (0 = fully recursive, 1 = current dir, etc) |
boolean | $hidden | Whether to show hidden files |