CRM_Utils_Check_Message
class CRM_Utils_Check_Message
Methods
__construct(string $name, string $message, string $title, string $level = \Psr\Log\LogLevel::WARNING, string $icon = NULL)
Class constructor.
string
getName()
Get name.
string
getMessage()
Get message.
string
getTitle()
No description
int
getLevel()
Get severity level number.
string
getSeverity()
Get severity string.
addHelp(string $help)
Set optional additional help text.
addAction(string $title, string $confirmation, string $type, array $params)
Set optional additional actions text.
setLevel(string|int $level)
Set severity level
array
toArray()
Convert to array.
bool
isVisible()
Get message visibility.
string
getHiddenUntil()
Get date hidden until.
Details
at line 101
__construct(string $name, string $message, string $title, string $level = \Psr\Log\LogLevel::WARNING, string $icon = NULL)
Class constructor.
at line 114
string
getName()
Get name.
at line 123
string
getMessage()
Get message.
at line 130
string
getTitle()
at line 140
int
getLevel()
Get severity level number.
at line 150
string
getSeverity()
Get severity string.
at line 159
addHelp(string $help)
Set optional additional help text.
at line 175
addAction(string $title, string $confirmation, string $type, array $params)
Set optional additional actions text.
at line 190
setLevel(string|int $level)
Set severity level
at line 209
array
toArray()
Convert to array.
at line 236
bool
isVisible()
Get message visibility.
at line 248
string
getHiddenUntil()
Get date hidden until.