ITeamManager
in
Tags
Table of Contents
Methods
- getProvider() : ITeamResourceProvider
- Get a specific team resource provider by its id
- getProviders() : array<string|int, ITeamResourceProvider>
- Get all providers that have registered as a team resource provider
- getSharedWith() : array<int, TeamResource>
- Returns all team resources for a given team and user
- getTeamsForResource() : array<string|int, mixed>
- Returns all teams for a given resource and user
Methods
getProvider()
Get a specific team resource provider by its id
public
getProvider(string $providerId) : ITeamResourceProvider
Parameters
- $providerId : string
Tags
Return values
ITeamResourceProvidergetProviders()
Get all providers that have registered as a team resource provider
public
getProviders() : array<string|int, ITeamResourceProvider>
Tags
Return values
array<string|int, ITeamResourceProvider>getSharedWith()
Returns all team resources for a given team and user
public
getSharedWith(string $teamId, string $userId) : array<int, TeamResource>
Parameters
- $teamId : string
- $userId : string
Tags
Return values
array<int, TeamResource>getTeamsForResource()
Returns all teams for a given resource and user
public
getTeamsForResource(string $providerId, string $resourceId, string $userId) : array<string|int, mixed>
Parameters
- $providerId : string
- $resourceId : string
- $userId : string