Nextcloud PHP API (master)

Team
in package
implements JsonSerializable

Simple abstraction to represent a team in the public API

In the backend a team is a circle identified by the circles singleId

Tags
since
29.0.0

Table of Contents

Interfaces

JsonSerializable

Properties

$displayName  : non-empty-string
$link  : non-empty-string|null
$teamId  : non-empty-string

Methods

__construct()  : mixed
getDisplayName()  : non-empty-string
getId()  : non-empty-string
Unique identifier of the team (singleId of the circle)
getLink()  : non-empty-string|null
jsonSerialize()  : array{teamId: string, displayName: string, link: ?string}

Properties

$displayName

private non-empty-string $displayName
private non-empty-string|null $link

$teamId

private non-empty-string $teamId

Methods

__construct()

public __construct(string $teamId, string $displayName, string|null $link) : mixed
Parameters
$teamId : string
$displayName : string
$link : string|null
Tags
since
29.0.0

getDisplayName()

public getDisplayName() : non-empty-string
Tags
since
29.0.0
Return values
non-empty-string

getId()

Unique identifier of the team (singleId of the circle)

public getId() : non-empty-string
Tags
since
29.0.0
Return values
non-empty-string
public getLink() : non-empty-string|null
since
29.0.0
Return values
non-empty-string|null

jsonSerialize()

public jsonSerialize() : array{teamId: string, displayName: string, link: ?string}
Tags
since
29.0.0
Attributes
#[Override]
Return values
array{teamId: string, displayName: string, link: ?string}
On this page

Search results