Documentation

dialogMessageManager
in package

Table of Contents

COL_AUTHOR_EMPLOYEE  = 'author_employee'
COL_AUTHOR_USER  = 'author_user'
COL_CREATE_DT  = 'create_dt'
COL_DIALOG  = 'dialog'
COL_STATUS  = 'status'
EVENT_ADD_NEW_MESSAGE  = 'feedback.module.event.add.new.message'
TABLE_NAME  = 'messages'
$database  : Explorer
$modelHooks  : ModelHooks
__construct()  : mixed
add()  : ActiveRow
findByDialog()  : Selection
get()  : ActiveRow
getCountUnreadMessage()  : int
getCountUnreadMessageForEmployee()  : int
setMarkRead()  : void

Constants

EVENT_ADD_NEW_MESSAGE

public mixed EVENT_ADD_NEW_MESSAGE = 'feedback.module.event.add.new.message'

Properties

Methods

add()

public add(iteratable<string|int, mixed> $values) : ActiveRow
Parameters
$values : iteratable<string|int, mixed>
Return values
ActiveRow

getCountUnreadMessage()

public getCountUnreadMessage([array<string|int, mixed> $structuresIds = null ][, int $employeeId = null ]) : int
Parameters
$structuresIds : array<string|int, mixed> = null
$employeeId : int = null
Return values
int

getCountUnreadMessageForEmployee()

public getCountUnreadMessageForEmployee(string $uuid) : int
Parameters
$uuid : string
Return values
int

Search results