Messenger
extends Model
in package
Messenger Class
Table of Contents
- $db : Database
- Contains the Database instance
- __construct() : mixed
- Constructor
- __destruct() : mixed
- Destructor
- insertMessage() : void
- Insert a new message
- 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 —insertMessage()
Insert a new message
public
insertMessage(MessagesOptions $options) : void
Parameters
- $options : MessagesOptions
Return values
void —setNewDb()
Creates a new Database object
private
setNewDb() : void