Property | Type | Description | |
---|---|---|---|
$_item | array | File details. | |
$_path | string | The path to the current file. | |
$_propertyMap | array | Mapping of WebDAV property names to Horde API's browse() properties. | |
$_registry | Horde_Registry | A registry object. | |
$_size | integer | This will only be set if the actual file data is requested, to avoid the overhead of building the file content only to retrieve the file size. |
Method | Description | |
---|---|---|
__construct ( Horde_Registry $registry, string $path = null, array $item = [] ) | Constructor. | |
delete ( ) | Deletes the current node. | |
get ( ) : mixed | Returns the data | |
getContentType ( ) : string | null | Returns the mime-type for a file | |
getETag ( ) : string | null | Returns the ETag for a file. | |
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. | |
getSize ( ) : integer | Returns the size of the file, in bytes. | |
propPatch ( Sabre\DAV\PropPatch $propPatch ) : void | Updates properties on this node. | |
put ( resource $data ) : void | Updates the data |
public __construct ( Horde_Registry $registry, string $path = null, array $item = [] ) | ||
$registry | Horde_Registry | A registry object. |
$path | string | The path to this file. |
$item | array | File details. |
public getContentType ( ) : string | null | ||
return | string | null |
public getLastModified ( ) : integer | ||
return | integer |
public getProperties ( array $properties ) : void | ||
$properties | array | |
return | void |
protected static array $_propertyMap | ||
return | array |
protected Horde_Registry $_registry | ||
return | Horde_Registry |
protected int $_size | ||
return | integer |