PHP Класс Horde_Dav_Collection, horde

Автор: Jan Schneider ([email protected])
Наследование: extends Sabre\DAV\Collection, implements Sabre\DAV\IProperties
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_item array Collection details.
$_mimedb string The path to a MIME magic database.
$_path string The path to the current collection.
$_propertyMap array Mapping of WebDAV property names to Horde API's browse() properties.
$_registry Horde_Registry A registry object.

Открытые методы

Метод Описание
__construct ( string $path = null, array $item = [], Horde_Registry $registry, string $mimedb ) Constructor.
createFile ( string $name, resource | string $data = null ) : null | string Creates a new file in the directory
getChildren ( ) : Sabre\DAV\INode[] Returns an array with all the child nodes
getLastModified ( ) : integer Returns the last modification time, as a unix timestamp
getName ( ) : string Returns the name of the node.
getProperties ( array $properties ) : void Returns a list of properties for this nodes.
propPatch ( Sabre\DAV\PropPatch $propPatch )
updateProperties ( array $mutations ) : boolean | array Updates properties on this node.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $path = null, array $item = [], Horde_Registry $registry, string $mimedb )
$path string The path to this collection.
$item array Collection details.
$registry Horde_Registry A registry object.
$mimedb string Location of a MIME magic database.

createFile() публичный Метод

Creates a new file in the directory
public createFile ( string $name, resource | string $data = null ) : null | string
$name string Name of the file
$data resource | string Initial payload
Результат null | string

getChildren() публичный Метод

Returns an array with all the child nodes
public getChildren ( ) : Sabre\DAV\INode[]
Результат Sabre\DAV\INode[]

getLastModified() публичный Метод

Returns the last modification time, as a unix timestamp
public getLastModified ( ) : integer
Результат integer

getName() публичный Метод

This is used to generate the url.
public getName ( ) : string
Результат string

getProperties() публичный Метод

Returns a list of properties for this nodes.
public getProperties ( array $properties ) : void
$properties array
Результат void

propPatch() публичный Метод

public propPatch ( Sabre\DAV\PropPatch $propPatch )
$propPatch Sabre\DAV\PropPatch

updateProperties() публичный Метод

Updates properties on this node.
public updateProperties ( array $mutations ) : boolean | array
$mutations array
Результат boolean | array

Описание свойств

$_item защищенное свойство

Collection details.
protected array $_item
Результат array

$_mimedb защищенное свойство

The path to a MIME magic database.
protected string $_mimedb
Результат string

$_path защищенное свойство

The path to the current collection.
protected string $_path
Результат string

$_propertyMap защищенное статическое свойство

Mapping of WebDAV property names to Horde API's browse() properties.
protected static array $_propertyMap
Результат array

$_registry защищенное свойство

A registry object.
protected Horde_Registry $_registry
Результат Horde_Registry