Licence
in package
CLASS Lizenz
Manage licenses and users
Table of Contents
Methods
- getLicencedUser() : mysqli_result
- get activ employees of spitex
- getLicences() : mixed
- get activated licenses mod dbt or app from table spitex
- updateLicences() : mixed
- update table spitex and set new amount of userLicenceDBT
Methods
getLicencedUser()
get activ employees of spitex
public
getLicencedUser(string $kind) : mysqli_result
returns a mysqli_result with all active employees
Parameters
- $kind : string
-
all: get all owner, dbt: get all licenced owner mod dbt, app: all owner with del=0, pop: get all licenced owner mod pop
Return values
mysqli_result —$result
all selected owner
getLicences()
get activated licenses mod dbt or app from table spitex
public
getLicences(string $kind) : mixed
Parameters
- $kind : string
-
what kind of licence is required: app, dbt, pop
returns int $number of licenses
updateLicences()
update table spitex and set new amount of userLicenceDBT
public
updateLicences(string $kind, int $numberLicences) : mixed
Parameters
- $kind : string
-
what kind of licence is required: app or mod dbt
- $numberLicences : int
-
new amount of licenced users on modul dienstplan / tourenplan or VeruA App