Core_Message
in package
Message helper
Tags
Table of Contents
Methods
Methods
get()
Get message.
public
static get( $message[, $type = 'success' ]) : string
echo Core_Message::get(Core::_('constant.name'));
echo Core_Message::get(Core::_('constant.message', 'value1', 'value2'));
Parameters
Tags
Return values
stringshow()
Show message.
public
static show( $message[, $type = 'success' ]) : mixed
// Success message
Core_Message::show(Core::_('constant.name'));
// Error message
Core_Message::show(Core::_('constant.message', 'value1', 'value2'), 'error');