PHP 클래스 Horde_Dav_Collection, horde

저자: Jan Schneider ([email protected])
상속: extends Sabre\DAV\Collection, implements Sabre\DAV\IProperties
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_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