ICollection
Tags
Table of Contents
- addResource() : void
- Adds a resource to a collection
- canAccess() : bool
- Can a user/guest access the collection
- getId() : int
- getName() : string
- getResources() : \OCP\Collaboration\Resources\IResource[]
- removeResource() : void
- Removes a resource from a collection
- setName() : void
Methods
addResource()
Adds a resource to a collection
public
addResource(IResource $resource) : void
Parameters
- $resource : IResource
Tags
canAccess()
Can a user/guest access the collection
public
canAccess(IUser|null $user) : bool
Parameters
- $user : IUser|null
Tags
Return values
bool —getId()
public
getId() : int
Tags
Return values
int —getName()
public
getName() : string
Tags
Return values
string —getResources()
public
getResources() : \OCP\Collaboration\Resources\IResource[]
Tags
Return values
\OCP\Collaboration\Resources\IResource[] —removeResource()
Removes a resource from a collection
public
removeResource(IResource $resource) : void
Parameters
- $resource : IResource
Tags
setName()
public
setName(string $name) : void
Parameters
- $name : string