PHP 클래스 Pommo_Filesystem_File, poMMo

상속: extends Pommo_Filesystem_Item
파일 보기 프로젝트 열기: soonick/poMMo 1 사용 예제들

공개 메소드들

메소드 설명
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