EducationSchool
in package
Class representing an Education School in ownCloud Infinite Scale
Table of Contents
Methods
- __construct() : mixed
- addUser() : void
- Add education user to a school
- getDisplayName() : string
- Get the value of displayName
- getId() : string
- Get the value of id
- getNumber() : string
- Get the value of number
- getTerminationDate() : DateTime|null
- Get the value of terminationDate
Methods
__construct()
public
__construct(EducationSchool $school, string $serviceUrl, array<string|int, mixed> $connectionConfig, string &$accessToken) : mixed
Parameters
- $school : EducationSchool
- $serviceUrl : string
- $connectionConfig : array<string|int, mixed>
- $accessToken : string
addUser()
Add education user to a school
public
addUser(EducationUser $user) : void
Parameters
- $user : EducationUser
getDisplayName()
Get the value of displayName
public
getDisplayName() : string
Return values
stringgetId()
Get the value of id
public
getId() : string
Return values
stringgetNumber()
Get the value of number
public
getNumber() : string
Return values
stringgetTerminationDate()
Get the value of terminationDate
public
getTerminationDate() : DateTime|null