PHP Interface Neos\Flow\ResourceManagement\ResourceMetaDataInterface

Mostrar archivo Open project: neos/flow-development-collection Interface Usage Examples

Public Methods

Method Description
getFileSize ( ) : string Returns the size of the content of this storage object
getFilename ( ) : string Gets the filename
getMd5 ( ) : string Returns the md5 hash of the content of this storage object
getMediaType ( ) : string Returns the Media Type for this storage object
getRelativePublicationPath ( ) : string
getSha1 ( ) : string Returns the sha1 hash of the content of this storage object
setFileSize ( string $fileSize ) : void Sets the size of the content of this storage object
setFilename ( string $filename ) : void Sets the filename
setMd5 ( string $md5 ) : void Sets the md5 hash of the content of this storage object
setRelativePublicationPath ( string $path ) : void
setSha1 ( string $sha1 ) : void Sets the sha1 hash of the content of this storage object

Method Details

getFileSize() public method

Returns the size of the content of this storage object
public getFileSize ( ) : string
return string The md5 hash

getFilename() public method

Gets the filename
public getFilename ( ) : string
return string The filename

getMd5() public method

Returns the md5 hash of the content of this storage object
public getMd5 ( ) : string
return string The md5 hash

getMediaType() public method

Returns the Media Type for this storage object
public getMediaType ( ) : string
return string The IANA Media Type

getRelativePublicationPath() public method

getSha1() public method

Returns the sha1 hash of the content of this storage object
public getSha1 ( ) : string
return string The sha1 hash

setFileSize() public method

Sets the size of the content of this storage object
public setFileSize ( string $fileSize ) : void
$fileSize string The content size
return void

setFilename() public method

Sets the filename
public setFilename ( string $filename ) : void
$filename string
return void

setMd5() public method

Sets the md5 hash of the content of this storage object
public setMd5 ( string $md5 ) : void
$md5 string The md5 hash
return void

setRelativePublicationPath() public method

public setRelativePublicationPath ( string $path ) : void
$path string
return void

setSha1() public method

Sets the sha1 hash of the content of this storage object
public setSha1 ( string $sha1 ) : void
$sha1 string The sha1 hash
return void