PHP 클래스 ManaPHP\Filesystem\Adapter\File

상속: extends ManaPHP\Component, implements ManaPHP\FilesystemInterface
파일 보기 프로젝트 열기: manaphp/manaphp

공개 메소드들

메소드 설명
_dirCreate ( string $dir, integer $mode = 493 ) : void
dirCopy ( string $src, string $dst, boolean $overwrite = false ) : void
dirCreate ( string $dir, integer $mode = 493 ) : void
dirDelete ( string $dir, boolean $recursive = false ) : void
dirExists ( string $dir ) : boolean
dirMove ( string $src, string $dst, boolean $overwrite = false ) : void
directories ( string $dir ) : array
fileAppend ( string $file, string $data ) : void
fileCopy ( string $src, string $dst, boolean $overwrite = false ) : void
fileDelete ( string $file ) : void
fileExists ( string $file ) : boolean Determine if a file exists.
fileGet ( string $file ) : string | false
fileMove ( string $src, string $dst, boolean $overwrite = false ) : void
filePut ( string $file, string $data ) : void
fileSize ( string $file ) : integer | false
files ( string $dir, string $pattern = null ) : array
glob ( string $pattern, integer $flags ) : array
scandir ( string $dir, integer $sorting_order = SCANDIR_SORT_ASCENDING ) : array

보호된 메소드들

메소드 설명
_dirCopy ( string $src, string $dst, boolean $overwrite ) : void
_dirDelete ( string $dir, boolean $recursive )

메소드 상세

_dirCopy() 보호된 메소드

protected _dirCopy ( string $src, string $dst, boolean $overwrite ) : void
$src string
$dst string
$overwrite boolean
리턴 void

_dirCreate() 공개 메소드

public _dirCreate ( string $dir, integer $mode = 493 ) : void
$dir string
$mode integer
리턴 void

_dirDelete() 보호된 메소드

protected _dirDelete ( string $dir, boolean $recursive )
$dir string
$recursive boolean

dirCopy() 공개 메소드

public dirCopy ( string $src, string $dst, boolean $overwrite = false ) : void
$src string
$dst string
$overwrite boolean
리턴 void

dirCreate() 공개 메소드

public dirCreate ( string $dir, integer $mode = 493 ) : void
$dir string
$mode integer
리턴 void

dirDelete() 공개 메소드

public dirDelete ( string $dir, boolean $recursive = false ) : void
$dir string
$recursive boolean
리턴 void

dirExists() 공개 메소드

public dirExists ( string $dir ) : boolean
$dir string
리턴 boolean

dirMove() 공개 메소드

public dirMove ( string $src, string $dst, boolean $overwrite = false ) : void
$src string
$dst string
$overwrite boolean
리턴 void

directories() 공개 메소드

public directories ( string $dir ) : array
$dir string
리턴 array

fileAppend() 공개 메소드

public fileAppend ( string $file, string $data ) : void
$file string
$data string
리턴 void

fileCopy() 공개 메소드

public fileCopy ( string $src, string $dst, boolean $overwrite = false ) : void
$src string
$dst string
$overwrite boolean
리턴 void

fileDelete() 공개 메소드

public fileDelete ( string $file ) : void
$file string
리턴 void

fileExists() 공개 메소드

Determine if a file exists.
public fileExists ( string $file ) : boolean
$file string
리턴 boolean

fileGet() 공개 메소드

public fileGet ( string $file ) : string | false
$file string
리턴 string | false

fileMove() 공개 메소드

public fileMove ( string $src, string $dst, boolean $overwrite = false ) : void
$src string
$dst string
$overwrite boolean
리턴 void

filePut() 공개 메소드

public filePut ( string $file, string $data ) : void
$file string
$data string
리턴 void

fileSize() 공개 메소드

public fileSize ( string $file ) : integer | false
$file string
리턴 integer | false

files() 공개 메소드

public files ( string $dir, string $pattern = null ) : array
$dir string
$pattern string
리턴 array

glob() 공개 메소드

public glob ( string $pattern, integer $flags ) : array
$pattern string
$flags integer
리턴 array

scandir() 공개 메소드

public scandir ( string $dir, integer $sorting_order = SCANDIR_SORT_ASCENDING ) : array
$dir string
$sorting_order integer
리턴 array