PHP Класс Pommo_Filesystem_File, poMMo

Наследование: extends Pommo_Filesystem_Item
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

copy() публичный Метод

Copies this file/directory and all its children to $destination
public copy ( $destination ) : boolean
$destination
Результат boolean Success or Failure

delete() публичный Метод

Deletes this file or Directory
public delete ( ) : boolean
Результат boolean Success or Failure

getExtension() публичный Метод

Returns the filename extension
public getExtension ( ) : string
Результат string

getFileSize() публичный Метод

Gets the exact file size in bytes or the human readable file size
public getFileSize ( boolean $humanReadable = false ) : integer | string
$humanReadable boolean
Результат integer | string