PHP Class Pimcore\Model\Asset\WebDAV\File

Inheritance: extends Sabre\DAV\File
Datei anzeigen Open project: pimcore/pimcore

Public Methods

Method Description
__construct ( $asset )
delete ( )
get ( ) : mixed | void
getContentType ( ) : string Returns the mimetype of the asset
getETag ( ) : string Get a hash of the file for an unique identifier
getLastModified ( ) : integer
getName ( ) : string
getSize ( ) : integer Get size of file in bytes
put ( resource $data )
setName ( string $name )

Method Details

__construct() public method

public __construct ( $asset )
$asset

delete() public method

public delete ( )

get() public method

public get ( ) : mixed | void
return mixed | void

getContentType() public method

Returns the mimetype of the asset
public getContentType ( ) : string
return string

getETag() public method

Get a hash of the file for an unique identifier
public getETag ( ) : string
return string

getLastModified() public method

public getLastModified ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

getSize() public method

Get size of file in bytes
public getSize ( ) : integer
return integer

put() public method

public put ( resource $data )
$data resource

setName() public method

public setName ( string $name )
$name string