Announcement
extends Model
in package
Announcement Class
Table of Contents
- $db : Database
- Contains the Database instance
- __construct() : mixed
- Constructor
- __destruct() : mixed
- Destructor
- getAllPlayers() : array<string|int, mixed>
- Get all server users
- 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 —getAllPlayers()
Get all server users
public
getAllPlayers() : array<string|int, mixed>
Return values
array<string|int, mixed> —setNewDb()
Creates a new Database object
private
setNewDb() : void