XG Proyect

Combatreport extends Model
in package

Combat Report Class

Table of Contents

$db  : Database
Contains the Database instance
__construct()  : mixed
Constructor
__destruct()  : mixed
Destructor
getReportById()  : array<string|int, mixed>
Get report by its Id
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

getReportById()

Get report by its Id

public getReportById(string $report_id) : array<string|int, mixed>
Parameters
$report_id : string

Report ID

Return values
array<string|int, mixed>

setNewDb()

Creates a new Database object

private setNewDb() : void
Return values
void

Search results