Documentation

UserData
in package

Class UserData Handles operations related to user data, including retrieval and update operations.

Table of Contents

Properties

$mySql  : MySql

Methods

__construct()  : mixed
getAllUsers()  : array<string|int, mixed>
getCompanyUsers()  : array<string|int, mixed>
getUserData()  : array<string|int, mixed>
Returns user data !!! TEMORARY, the table + query shall change
update()  : mixed

Properties

Methods

getAllUsers()

public getAllUsers() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCompanyUsers()

public getCompanyUsers(string $companycode) : array<string|int, mixed>
Parameters
$companycode : string
Return values
array<string|int, mixed>

getUserData()

Returns user data !!! TEMORARY, the table + query shall change

public getUserData(int $userId) : array<string|int, mixed>
Parameters
$userId : int
Return values
array<string|int, mixed>

update()

public update(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

        
On this page

Search results