checks if a dir exits and creats it if $createDir
boolean
checkDir
(string $aDir, [boolean $createDir = False], [octal $rMask = 0770], [boolean $debug = False])
-
string
$aDir
-
boolean
$createDir
-
octal
$rMask
-
boolean
$debug
checks if $aDir is a valid dirname fixes chars and /
if $isPath is not set $aDir is searched for $pathSep
string
checkDirName
(string $aDir, [char $pathSep = _OCSP_DIRSEP_], [int $isPath = -1], [boolean $debug = False])
-
string
$aDir
-
char
$pathSep
-
int
$isPath
-
boolean
$debug
returns an array with files of a specified type in a directory
possible types:
. !D = WITHOUT DIRECTORIES (pk-04-08-18)
Combination of types are also allowed FL returns files and links
array
getDirList
(string $dirName, [string $type = "F"], [boolean $debug = FALSE], [array $blackList = array()])
-
string
$dirName: (the directory)
-
string
$type: (file type(s))
-
boolean
$debug
-
array
$blackList
returns if $aDir is a directory
boolean
isDir
(string $aDir, [boolean $allowLink = True])
-
string
$aDir
-
boolean
$allowLink