ICollection¶
-
interface
OCP\Collaboration\Resources\
ICollection
¶ Implemented by: OC\Collaboration\Resources\Collection
Source: lib/public/Collaboration/Resources/ICollection.php#34
Methods¶
-
public
OCP\Collaboration\Resources\ICollection::
getId
()¶ Source: lib/public/Collaboration/Resources/ICollection.php#40 Returns: int Since: 16.0.0
-
public
OCP\Collaboration\Resources\ICollection::
getName
()¶ Source: lib/public/Collaboration/Resources/ICollection.php#46 Returns: string Since: 16.0.0
-
public
OCP\Collaboration\Resources\ICollection::
setName
($name)¶ Source: Parameters: - $name (string)
Since: 16.0.0
-
public
OCP\Collaboration\Resources\ICollection::
getResources
()¶ Source: lib/public/Collaboration/Resources/ICollection.php#58 Returns: \OCP\Collaboration\Resources\IResource[]
Since: 16.0.0
-
public
OCP\Collaboration\Resources\ICollection::
addResource
($resource)¶ - Adds a resource to a collection
Source: Parameters: - $resource (
OCP\Collaboration\Resources\IResource
)
Throws: \OCP\Collaboration\Resources\ResourceException
when the resource is already part of the collectionSince: 16.0.0
- $resource (
-
public
OCP\Collaboration\Resources\ICollection::
removeResource
($resource)¶ - Removes a resource from a collection
Source: Parameters: - $resource (
OCP\Collaboration\Resources\IResource
)
Since: 16.0.0
- $resource (