XG Proyect

NoobsProtectionLib extends Model
in package

NoobsProtectionLib Class

Table of Contents

$db  : Database
Contains the Database instance
__construct()  : mixed
Constructor
__destruct()  : mixed
Destructor
readAllConfigs()  : array<string|int, mixed>
Read all server configurations
returnBothPartiesPoints()  : array<string|int, mixed>
Return points for current user and the other user
setNewDb()  : void
Creates a new Database object

Properties

Methods

__construct()

Constructor

public __construct() : mixed
Return values
mixed

__destruct()

Destructor

public __destruct() : mixed
Return values
mixed

readAllConfigs()

Read all server configurations

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

returnBothPartiesPoints()

Return points for current user and the other user

public returnBothPartiesPoints(int $current_user_id, int $other_user_id) : array<string|int, mixed>
Parameters
$current_user_id : int
$other_user_id : int
Return values
array<string|int, mixed>

setNewDb()

Creates a new Database object

private setNewDb() : void
Return values
void

Search results