IProvider¶
-
interface
OCP\Collaboration\Resources\
IProvider
¶ Source: lib/public/Collaboration/Resources/IProvider.php#35
Methods¶
-
public
OCP\Collaboration\Resources\IProvider::
getType
()¶ - Get the resource type of the provider
Source: lib/public/Collaboration/Resources/IProvider.php#43 Returns: string Since: 16.0.0
-
public
OCP\Collaboration\Resources\IProvider::
getResourceRichObject
($resource)¶ - Get the rich object data of a resource
Source: Parameters: - $resource (
OCP\Collaboration\Resources\IResource
)
Returns: array
Since: 16.0.0
- $resource (
-
public
OCP\Collaboration\Resources\IProvider::
canAccessResource
($resource, $user)¶ - Can a user/guest access the collection
Source: Parameters: - $resource (
OCP\Collaboration\Resources\IResource
) - $user (
OCP\IUser
| null)
Returns: bool
Since: 16.0.0
- $resource (