dialogManager
Table of Contents
-
COL_AUTHOR
= 'author'
-
COL_FIRST_MESSAGE_DT
= 'first_message_dt'
-
COL_LAST_MESSAGE_DT
= 'last_message_dt'
-
COL_STATUS
= 'status'
-
COL_THEME
= 'dialog_theme'
-
COL_UUID
= 'uuid'
-
TABLE_NAME
= 'dialogs'
-
TABLE_PK
= 'uuid'
-
$database
: Explorer
-
__construct()
: mixed
-
add()
: ActiveRow
-
find()
: Selection
-
findByAuthor()
: array<string|int, mixed>
-
findByUUID()
: Selection
-
get()
: ActiveRow
-
update()
: void
COL_AUTHOR
public
mixed
COL_AUTHOR
= 'author'
COL_FIRST_MESSAGE_DT
public
mixed
COL_FIRST_MESSAGE_DT
= 'first_message_dt'
COL_LAST_MESSAGE_DT
public
mixed
COL_LAST_MESSAGE_DT
= 'last_message_dt'
COL_STATUS
public
mixed
COL_STATUS
= 'status'
COL_THEME
public
mixed
COL_THEME
= 'dialog_theme'
COL_UUID
public
mixed
COL_UUID
= 'uuid'
TABLE_NAME
public
mixed
TABLE_NAME
= 'dialogs'
TABLE_PK
public
mixed
TABLE_PK
= 'uuid'
$database
private
Explorer
$database
__construct()
public
__construct(Explorer $database) : mixed
Parameters
-
$database
: Explorer
-
Return values
mixed
—
add()
public
add(iteratable<string|int, mixed> $dialogArray) : ActiveRow
Parameters
-
$dialogArray
: iteratable<string|int, mixed>
-
Return values
ActiveRow
—
find()
public
find() : Selection
Return values
Selection
—
findByAuthor()
public
findByAuthor(string $authorId) : array<string|int, mixed>
Parameters
-
$authorId
: string
-
Return values
array<string|int, mixed>
—
findByUUID()
public
findByUUID(string $uuid) : Selection
Parameters
-
$uuid
: string
-
Return values
Selection
—
get()
public
get(string $uuid) : ActiveRow
Parameters
-
$uuid
: string
-
-
throws
-
InvalidUuidException
-
throws
-
DialogNotFoundException
Return values
ActiveRow
—
update()
public
update(string $uuid, iteratable<string|int, mixed> $dialogArray) : void
Parameters
-
$uuid
: string
-
-
$dialogArray
: iteratable<string|int, mixed>
-
-
throws
-
DialogNotFoundException
-
throws
-
InvalidUuidException
Return values
void
—