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 from table spitex
- updateLicences() : mixed
- update table spitex and set new amount of userLicence
Methods
getLicencedUser()
get activ employees of spitex
public
getLicencedUser([int $type = null ]) : mysqli_result
returns a mysqli_result with all active employees
Parameters
- $type : int = null
-
type=null: get all owner, type=1: get all licenced owner
Return values
mysqli_result —$result
all selected owner
getLicences()
get activated licenses from table spitex
public
getLicences() : mixed
returns the number of licenses as integer
updateLicences()
update table spitex and set new amount of userLicence
public
updateLicences(int $numberLicences) : mixed
Parameters
- $numberLicences : int
-
new amount of licenced users on modul dienstplan / tourenplan