ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This is an ACL-enabled file node. More...
Public Member Functions | |
__construct ($path, array $acl, $owner=null) | |
Constructor. More... | |
getOwner () | |
Returns the owner principal. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
![]() | |
put ($data) | |
Updates the data. More... | |
patch ($data, $rangeType, $offset=null) | |
Updates the file based on a range specification. More... | |
get () | |
Returns the data. More... | |
delete () | |
Delete the current file. More... | |
getETag () | |
Returns the ETag for a file. More... | |
getContentType () | |
Returns the mime-type for a file. More... | |
getSize () | |
Returns the size of the file, in bytes. More... | |
![]() | |
__construct ($path) | |
Sets up the node, expects a full path name. More... | |
getName () | |
Returns the name of the node. More... | |
setName ($name) | |
Renames the node. More... | |
getLastModified () | |
Returns the last modification time, as a unix timestamp. More... | |
![]() | |
getGroup () | |
Returns a group principal. More... | |
setACL (array $acl) | |
Updates the ACL. More... | |
getSupportedPrivilegeSet () | |
Returns the list of supported privileges for this node. More... | |
Protected Attributes | |
$acl | |
$owner | |
![]() | |
$path | |
This is an ACL-enabled file node.
Sabre\DAVACL\FS\File::__construct | ( | $path, | |
array | $acl, | ||
$owner = null |
|||
) |
Constructor.
string | $path | on-disk path. |
array | $acl | ACL rules. |
string | null | $owner | principal owner string. |
Definition at line 41 of file File.php.
References Sabre\DAVACL\FS\File\$acl, Sabre\DAVACL\FS\File\$owner, and Sabre\DAV\FS\Node\$path.
Sabre\DAVACL\FS\File::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 74 of file File.php.
References Sabre\DAVACL\FS\File\$acl.
Sabre\DAVACL\FS\File::getOwner | ( | ) |
Returns the owner principal.
This must be a url to a principal, or null if there's no owner
Implements Sabre\DAVACL\IACL.
Definition at line 56 of file File.php.
References Sabre\DAVACL\FS\File\$owner.
|
protected |
Definition at line 25 of file File.php.
Referenced by Sabre\DAVACL\FS\File\__construct(), and Sabre\DAVACL\FS\File\getACL().
|
protected |
Definition at line 32 of file File.php.
Referenced by Sabre\DAVACL\FS\File\__construct(), and Sabre\DAVACL\FS\File\getOwner().