PHP 클래스 fkooman\RemoteStorage\DocumentStorage

파일 보기 프로젝트 열기: fkooman/php-remote-storage 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $baseDir )
deleteDocument ( Path $p ) Delete a document and all empty parent directories if there are any.
getDocument ( Path $p )
getDocumentPath ( Path $p ) Get the full absolute location of the document on the filesystem.
getFolder ( Path $p )
getFolderSize ( Path $p )
isDocument ( Path $p )
isFolder ( Path $p )
putDocument ( Path $p, $documentContent ) Store a new document.

비공개 메소드들

메소드 설명
deleteFolder ( Path $p )
isEmptyFolder ( Path $p )

메소드 상세

__construct() 공개 메소드

public __construct ( $baseDir )

deleteDocument() 공개 메소드

Delete a document and all empty parent directories if there are any.
public deleteDocument ( Path $p )
$p Path the path of a document to delete

getDocument() 공개 메소드

public getDocument ( Path $p )
$p Path

getDocumentPath() 공개 메소드

Get the full absolute location of the document on the filesystem.
public getDocumentPath ( Path $p )
$p Path

getFolder() 공개 메소드

public getFolder ( Path $p )
$p Path

getFolderSize() 공개 메소드

public getFolderSize ( Path $p )
$p Path

isDocument() 공개 메소드

public isDocument ( Path $p )
$p Path

isFolder() 공개 메소드

public isFolder ( Path $p )
$p Path

putDocument() 공개 메소드

Store a new document.
public putDocument ( Path $p, $documentContent )
$p Path