Property | Type | Description | |
---|---|---|---|
$background_color | Background color of the message. Default green. | ||
$message | Actual message. | ||
$message_format | Is the message plain text or html. | ||
$notification | Does this message generate a notification. Default false. |
Method | Description | |
---|---|---|
__construct ( $notify = false, $background_color = self::BACKGROUND_YELLOW ) | ||
getBackgroundColor ( ) | ||
getMessage ( ) | ||
getMessageFormat ( ) | ||
getNotification ( ) | ||
removeNotification ( ) | ||
setBackgroundColor ( $color ) | ||
setHtml ( $html ) | ||
setNotification ( ) | ||
setText ( $text ) |
Method | Description | |
---|---|---|
setMessage ( string $text, $format ) : void |
public __construct ( $notify = false, $background_color = self::BACKGROUND_YELLOW ) |
protected setMessage ( string $text, $format ) : void | ||
$text | string | |
return | void |
protected $background_color |