XG Proyect

Fleets extends Model
in package

Fleets Class

Table of Contents

$db  : Database
Contains the Database instance
__construct()  : mixed
Constructor
__destruct()  : mixed
Destructor
deleteFleetById()  : void
Delete fleet by ID
endFleetById()  : void
Delete fleet by ID
getAllFleets()  : array<string|int, mixed>
Get all fleets
restartFleetById()  : void
Delete fleet by ID
returnFleetById()  : void
Delete fleet by 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

deleteFleetById()

Delete fleet by ID

public deleteFleetById(int $fleet_id) : void
Parameters
$fleet_id : int
Return values
void

endFleetById()

Delete fleet by ID

public endFleetById(int $fleet_id) : void
Parameters
$fleet_id : int
Return values
void

getAllFleets()

Get all fleets

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

restartFleetById()

Delete fleet by ID

public restartFleetById(int $fleet) : void
Parameters
$fleet : int
Return values
void

returnFleetById()

Delete fleet by ID

public returnFleetById(int $fleet_id) : void
Parameters
$fleet_id : int
Return values
void

setNewDb()

Creates a new Database object

private setNewDb() : void
Return values
void

Search results