PHP 클래스 Jarves\Filesystem\Adapter\Local

상속: extends AbstractAdapter
파일 보기 프로젝트 열기: jarves/jarves

공개 프로퍼티들

프로퍼티 타입 설명
$changeMode boolean Defines whether we chmod the edited file or not.
$dirMode integer Default permission modes for directories.
$fileMode integer Default permission modes for files.
$groupName string Default group owner name.

공개 메소드들

메소드 설명
__construct ( $mountPoint, $params = null ) {@inheritDoc}
copy ( $pathSource, $pathTarget ) {@inheritDoc}
copyr ( $source, $dest, $overwrite = true )
createFile ( $path, $content = null ) {@inheritDoc}
delDir ( $dirName )
delete ( $path ) {@inheritDoc}
filemtime ( $path ) {@inheritDoc}
getCount ( $folderPath ) {@inheritDoc}
getFile ( $path ) {@inheritDoc}
getFiles ( $path ) {@inheritDoc}
getFullPath ( $path )
getPublicAccess ( $path ) {@inheritDoc}
getPublicUrl ( $path ) {@inheritDoc}
getRoot ( ) : string Sets current root folder for this local layer.
getSize ( $path ) {@inheritDoc}
handle ( string $path, string $mode = 'r+' ) : resource
has ( $path ) {@inheritDoc}
hash ( $path ) {@inheritDoc}
loadConfig ( ) Loads and converts the configuration to appropriate modes.
mkdir ( $path ) {@inheritDoc}
move ( $pathSource, $pathTarget ) {@inheritDoc}
read ( $path ) {@inheritDoc}
search ( $path, $pattern, $depth = 1, $currentDepth = 1 ) {@inheritDoc}
setParams ( $params )
setPermission ( string $path ) : boolean Sets file permissions on file/folder recursively.
setPublicAccess ( $path, $access = false ) {@inheritDoc}
setRoot ( string $root ) Gets current root folder for this local layer.
write ( $path, $content = '' ) {@inheritDoc}

비공개 메소드들

메소드 설명
_mkdir ( string $path ) : boolean

메소드 상세

__construct() 공개 메소드

{@inheritDoc}
public __construct ( $mountPoint, $params = null )

copy() 공개 메소드

{@inheritDoc}
public copy ( $pathSource, $pathTarget )

copyr() 공개 메소드

public copyr ( $source, $dest, $overwrite = true )

createFile() 공개 메소드

{@inheritDoc}
public createFile ( $path, $content = null )

delDir() 공개 메소드

public delDir ( $dirName )

delete() 공개 메소드

{@inheritDoc}
public delete ( $path )

filemtime() 공개 메소드

{@inheritDoc}
public filemtime ( $path )

getCount() 공개 메소드

{@inheritDoc}
public getCount ( $folderPath )

getFile() 공개 메소드

{@inheritDoc}
public getFile ( $path )

getFiles() 공개 메소드

{@inheritDoc}
public getFiles ( $path )

getFullPath() 공개 메소드

public getFullPath ( $path )

getPublicAccess() 공개 메소드

{@inheritDoc}
public getPublicAccess ( $path )

getPublicUrl() 공개 메소드

{@inheritDoc}
public getPublicUrl ( $path )

getRoot() 공개 메소드

Sets current root folder for this local layer.
public getRoot ( ) : string
리턴 string

getSize() 공개 메소드

{@inheritDoc}
public getSize ( $path )

handle() 공개 메소드

public handle ( string $path, string $mode = 'r+' ) : resource
$path string
$mode string
리턴 resource

has() 공개 메소드

{@inheritDoc}
public has ( $path )

hash() 공개 메소드

{@inheritDoc}
public hash ( $path )

loadConfig() 공개 메소드

Loads and converts the configuration to appropriate modes.
public loadConfig ( )

mkdir() 공개 메소드

{@inheritDoc}
public mkdir ( $path )

move() 공개 메소드

{@inheritDoc}
public move ( $pathSource, $pathTarget )

read() 공개 메소드

{@inheritDoc}
public read ( $path )

setParams() 공개 메소드

public setParams ( $params )

setPermission() 공개 메소드

Sets file permissions on file/folder recursively.
public setPermission ( string $path ) : boolean
$path string
리턴 boolean

setPublicAccess() 공개 메소드

{@inheritDoc}
public setPublicAccess ( $path, $access = false )

setRoot() 공개 메소드

Gets current root folder for this local layer.
public setRoot ( string $root )
$root string

write() 공개 메소드

{@inheritDoc}
public write ( $path, $content = '' )

프로퍼티 상세

$changeMode 공개적으로 프로퍼티

Defines whether we chmod the edited file or not.
public bool $changeMode
리턴 boolean

$dirMode 공개적으로 프로퍼티

Default permission modes for directories.
public int $dirMode
리턴 integer

$fileMode 공개적으로 프로퍼티

Default permission modes for files.
public int $fileMode
리턴 integer

$groupName 공개적으로 프로퍼티

Default group owner name.
public string $groupName
리턴 string