public static messages_get ( boolean $clear = true, array $callback = null ) : mixed | ||
$clear | boolean | true to clear the messages from the session upon receipt |
$callback | array | a reference to a callback function for formatting the the messages or the string 'array' to get a raw array |
Результат | mixed | output of messages |