ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This collection contains a collection for every principal. More...
Public Member Functions | |
__construct (BackendInterface $principalBackend, $storagePath, $principalPrefix='principals') | |
Creates the home collection. More... | |
getName () | |
Returns the name of the node. More... | |
getChildForPrincipal (array $principalInfo) | |
Returns a principals' collection of files. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
![]() | |
__construct (PrincipalBackend\BackendInterface $principalBackend, $principalPrefix='principals') | |
Creates the object. More... | |
getChildForPrincipal (array $principalInfo) | |
This method returns a node for a principal. More... | |
getName () | |
Returns the name of this collection. More... | |
getChildren () | |
Return the list of users. More... | |
getChild ($name) | |
Returns a child object, by its name. More... | |
searchPrincipals (array $searchProperties, $test='allof') | |
This method is used to search for principals matching a set of properties. More... | |
findByUri ($uri) | |
Finds a principal by its URI. More... | |
![]() | |
getChild ($name) | |
Returns a child object, by its name. More... | |
childExists ($name) | |
Checks is a child-node exists. More... | |
createFile ($name, $data=null) | |
Creates a new file in the directory. More... | |
createDirectory ($name) | |
Creates a new subdirectory. More... | |
![]() | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
![]() | |
getOwner () | |
Returns the owner principal. 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... | |
Data Fields | |
$collectionName = 'home' | |
![]() | |
$disableListing = false | |
Protected Attributes | |
$storagePath | |
![]() | |
$principalBackend | |
$principalPrefix | |
This collection contains a collection for every principal.
It is similar to /home on many unix systems.
The per-user collections can only be accessed by the user who owns the collection.
Definition at line 22 of file HomeCollection.php.
Sabre\DAVACL\FS\HomeCollection::__construct | ( | BackendInterface | $principalBackend, |
$storagePath, | |||
$principalPrefix = 'principals' |
|||
) |
Creates the home collection.
BackendInterface | $principalBackend | |
string | $storagePath | Where the actual files are stored. |
string | $principalPrefix | list of principals to iterate. |
Definition at line 47 of file HomeCollection.php.
References Sabre\DAVACL\AbstractPrincipalCollection\$principalPrefix, and Sabre\DAVACL\FS\HomeCollection\$storagePath.
Sabre\DAVACL\FS\HomeCollection::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 116 of file HomeCollection.php.
Sabre\DAVACL\FS\HomeCollection::getChildForPrincipal | ( | array | $principalInfo | ) |
Returns a principals' collection of files.
The passed array contains principal information, and is guaranteed to at least contain a uri item. Other properties may or may not be supplied by the authentication backend.
array | $principalInfo |
Definition at line 77 of file HomeCollection.php.
References $path, and Sabre\Uri\split().
Sabre\DAVACL\FS\HomeCollection::getName | ( | ) |
Returns the name of the node.
This is used to generate the url.
Implements Sabre\DAV\INode.
Definition at line 61 of file HomeCollection.php.
References Sabre\DAVACL\FS\HomeCollection\$collectionName.
Sabre\DAVACL\FS\HomeCollection::$collectionName = 'home' |
Definition at line 31 of file HomeCollection.php.
Referenced by Sabre\DAVACL\FS\HomeCollection\getName().
|
protected |
Definition at line 38 of file HomeCollection.php.
Referenced by Sabre\DAVACL\FS\HomeCollection\__construct().