PHP Class fkooman\RemoteStorage\RemoteStorage

Afficher le fichier Open project: fkooman/php-remote-storage Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( MetadataStorage $md, DocumentStorage $d )
deleteDocument ( Path $p, array $ifMatch = null )
getContentType ( Path $p )
getDocument ( Path $p, array $ifNoneMatch = null )
getFolder ( Path $p, array $ifNoneMatch = null )
getFolderSize ( Path $p )
getVersion ( Path $p )
putDocument ( Path $p, $contentType, $documentData, array $ifMatch = null, array $ifNoneMatch = null )
sizeToHuman ( $byteSize )

Method Details

__construct() public méthode

public __construct ( MetadataStorage $md, DocumentStorage $d )
$md MetadataStorage
$d DocumentStorage

deleteDocument() public méthode

public deleteDocument ( Path $p, array $ifMatch = null )
$p Path
$ifMatch array

getContentType() public méthode

public getContentType ( Path $p )
$p Path

getDocument() public méthode

public getDocument ( Path $p, array $ifNoneMatch = null )
$p Path
$ifNoneMatch array

getFolder() public méthode

public getFolder ( Path $p, array $ifNoneMatch = null )
$p Path
$ifNoneMatch array

getFolderSize() public méthode

public getFolderSize ( Path $p )
$p Path

getVersion() public méthode

public getVersion ( Path $p )
$p Path

putDocument() public méthode

public putDocument ( Path $p, $contentType, $documentData, array $ifMatch = null, array $ifNoneMatch = null )
$p Path
$ifMatch array
$ifNoneMatch array

sizeToHuman() public static méthode

public static sizeToHuman ( $byteSize )