Public Member Functions | |
__construct ($sAdresse=null) | |
isDir () | |
isFile () | |
setAdresse ($sAdresse) | |
getAdresse () | |
getName () | |
getList ($tInclusion=null, $tExclusion=null, $bWithHidden=false) | |
getListFile ($tInclusion=null, $tExclusion=null, $bWithHidden=false) | |
getListDir ($bWithHidden=false) | |
delete () | |
exist () | |
save () | |
chmod ($valeur=0777) | |
_dir classe pour gerer un repertoire
Definition at line 23 of file class_dir.php.
__construct | ( | $sAdresse = null | ) |
constructeur public
string | $sAdresse | l'adresse du repertoire |
Definition at line 32 of file class_dir.php.
chmod | ( | $valeur = 0777 | ) |
change les droits du repertoire public
Definition at line 220 of file class_dir.php.
delete | ( | ) |
supprime le repertoire public
Definition at line 194 of file class_dir.php.
exist | ( | ) |
test l'existence du repertoire public
Definition at line 206 of file class_dir.php.
getAdresse | ( | ) |
retourne l'adresse complete du repertoire public
Definition at line 68 of file class_dir.php.
getList | ( | $tInclusion = null , |
|
$tExclusion = null , |
|||
$bWithHidden = false |
|||
) |
recupere la liste des fichiers / repertoire public
array | $tInclusion | tableau des extensions a prendre |
array | $tExclusion | tableau des extensions a exclure |
string | $sType | dir|file pour filtrer si besoin que les fichiers/repertoires |
boolen | $bWithHidden | boolean avec fichier cache ou non |
Definition at line 90 of file class_dir.php.
getListDir | ( | $bWithHidden = false | ) |
retourne un tableau des repertoire disponible public
array | $tInclusion | |
array | $tExclusion |
Definition at line 167 of file class_dir.php.
getListFile | ( | $tInclusion = null , |
|
$tExclusion = null , |
|||
$bWithHidden = false |
|||
) |
retourne un tableau des fichiers disponible public
array | $tInclusion | |
array | $tExclusion |
Definition at line 129 of file class_dir.php.
getName | ( | ) |
isDir | ( | ) |
indique que c'est un repertoire (utilise apres un _file->getList public
Definition at line 42 of file class_dir.php.
isFile | ( | ) |
indique que ce n'est pas un fichier (utilise apres un _file->getList public
Definition at line 50 of file class_dir.php.
save | ( | ) |
cree le repertoire public
Definition at line 213 of file class_dir.php.
setAdresse | ( | $sAdresse | ) |
defini l'adresse du repertoire public
string | $sAdresse | l'adresse du repertoire |
Definition at line 58 of file class_dir.php.