class AbstractMessage extends Model

An abstraction for conversation events

Traits

A timestamp column

Constants

TABLE

The name of the database table used for queries

Methods

getConversation()

Get the conversation where the event took place

bool
isMessage()

Find out whether the event is a message and not a generic conversation event (such as a rename or member join)

static string[]
getActiveStatuses()

Get the possible statuses representing an active model (visible to everyone)

static 
getQueryBuilder()

{@inheritdoc}

Details

at line line 60
Conversation getConversation()

Get the conversation where the event took place

Return Value

Conversation

at line line 71
abstract bool isMessage()

Find out whether the event is a message and not a generic conversation event (such as a rename or member join)

Return Value

bool

at line line 76
static string[] getActiveStatuses()

Get the possible statuses representing an active model (visible to everyone)

Return Value

string[]

at line line 84
static getQueryBuilder()

{@inheritdoc}