IProvider
Tags
Table of Contents
- canAccessResource() : bool
- Can a user/guest access the collection
- getResourceRichObject() : array
- Get the rich object data of a resource
- getType() : string
- Get the resource type of the provider
Methods
canAccessResource()
Can a user/guest access the collection
public
canAccessResource(IResource $resource, IUser|null $user) : bool
Parameters
Tags
Return values
bool —getResourceRichObject()
Get the rich object data of a resource
public
getResourceRichObject(IResource $resource) : array
Parameters
- $resource : IResource
Tags
Return values
array —getType()
Get the resource type of the provider
public
getType() : string