PHP Class Pimcore\Model\Asset\WebDAV\Folder

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

Public Methods

Method Description
__construct ( $asset )
createDirectory ( string $name )
createFile ( string $name, null $data = null ) : null | string | void
delete ( )
getChild ( string $name ) : Sabre\DAV\INode | void
getChildren ( ) : array Returns the children of the asset if the asset is a folder
getLastModified ( ) : integer
getName ( ) : string
setName ( string $name )

Method Details

__construct() public method

public __construct ( $asset )
$asset

createDirectory() public method

public createDirectory ( string $name )
$name string

createFile() public method

public createFile ( string $name, null $data = null ) : null | string | void
$name string
$data null
return null | string | void

delete() public method

public delete ( )

getChild() public method

public getChild ( string $name ) : Sabre\DAV\INode | void
$name string
return Sabre\DAV\INode | void

getChildren() public method

Returns the children of the asset if the asset is a folder
public getChildren ( ) : array
return array

getLastModified() public method

public getLastModified ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

setName() public method

public setName ( string $name )
$name string