Overview
extends Model
in package
Overview Class
Table of Contents
- $db : Database
- Contains the Database instance
- __construct() : mixed
- Constructor
- __destruct() : mixed
- Destructor
- getOwnFleets() : mixed
- Get own fleets
- getPlanets() : mixed
- Get own fleets
- setNewDb() : void
- Creates a new Database object
Properties
$db
Contains the Database instance
protected
Database
$db
Methods
__construct()
Constructor
public
__construct() : mixed
Return values
mixed —__destruct()
Destructor
public
__destruct() : mixed
Return values
mixed —getOwnFleets()
Get own fleets
public
getOwnFleets(type $user_id) : mixed
Parameters
- $user_id : type
Return values
mixed —getPlanets()
Get own fleets
public
getPlanets(type $user_id) : mixed
Parameters
- $user_id : type
Return values
mixed —setNewDb()
Creates a new Database object
private
setNewDb() : void