Class Messages
Messages
- Model
- AppModel uses Blesta\Core\Util\Common\Traits\Container
- Messages
Package: blesta\app\models
Copyright: Copyright (c) 2020, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/models/messages.php
Copyright: Copyright (c) 2020, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/models/messages.php
public
|
|
public
integer
|
|
public
integer
|
|
public
|
|
public
mixed
|
|
public
mixed
|
#
getAll( integer $company_id = null, array $filters = [] )
Fetches a full list of all messages for a given company |
public
|
#
getByGroup( string $message_group_id, string $lang = null, integer $company_id = null )
Fetches a messages for a given message group and language |
public
array
|
|
public
array
|
|
public
array
|
#
getMessageContent( integer $message_id, string $lang = null )
Gets the content from an specific message |
public
|
#
setMessageContent( integer $message_id, array $vars )
Sets the message content of an existing message |
getFromContainer()
|
$logger,
$replacement_keys
|