PHP Class Pommo_Filesystem_File, poMMo

Inheritance: extends Pommo_Filesystem_Item
Afficher le fichier Open project: soonick/poMMo Class Usage Examples

Méthodes publiques

Méthode Description
copy ( $destination ) : boolean Copies this file/directory and all its children to $destination
delete ( ) : boolean Deletes this file or Directory
getExtension ( ) : string Returns the filename extension
getFileSize ( boolean $humanReadable = false ) : integer | string Gets the exact file size in bytes or the human readable file size

Method Details

copy() public méthode

Copies this file/directory and all its children to $destination
public copy ( $destination ) : boolean
$destination
Résultat boolean Success or Failure

delete() public méthode

Deletes this file or Directory
public delete ( ) : boolean
Résultat boolean Success or Failure

getExtension() public méthode

Returns the filename extension
public getExtension ( ) : string
Résultat string

getFileSize() public méthode

Gets the exact file size in bytes or the human readable file size
public getFileSize ( boolean $humanReadable = false ) : integer | string
$humanReadable boolean
Résultat integer | string