[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 271 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MessagesCollector:: (17 methods):
__construct()
setDataFormatter()
getDataFormatter()
setVarDumper()
getVarDumper()
useHtmlVarDumper()
isHtmlVarDumperUsed()
addMessage()
aggregate()
getMessages()
log()
interpolate()
clear()
collect()
getName()
getAssets()
getWidgets()
Class: MessagesCollector - X-Ref
Provides a way to log messages__construct($name = 'messages') X-Ref |
param: string $name |
setDataFormatter(DataFormatterInterface $formater) X-Ref |
Sets the data formater instance used by this collector param: DataFormatterInterface $formater return: $this |
getDataFormatter() X-Ref |
return: DataFormatterInterface |
setVarDumper(DebugBarVarDumper $varDumper) X-Ref |
Sets the variable dumper instance used by this collector param: DebugBarVarDumper $varDumper return: $this |
getVarDumper() X-Ref |
Gets the variable dumper instance used by this collector return: DebugBarVarDumper |
useHtmlVarDumper($value = true) X-Ref |
Sets a flag indicating whether the Symfony HtmlDumper will be used to dump variables for rich variable rendering. Be sure to set this flag before logging any messages for the first time. param: bool $value return: $this |
isHtmlVarDumperUsed() X-Ref |
Indicates whether the Symfony HtmlDumper will be used to dump variables for rich variable rendering. return: mixed |
addMessage($message, $label = 'info', $isString = true) X-Ref |
Adds a message A message can be anything from an object to a string param: mixed $message param: string $label |
aggregate(MessagesAggregateInterface $messages) X-Ref |
Aggregates messages from other collectors param: MessagesAggregateInterface $messages |
getMessages() X-Ref |
return: array |
log($level, $message, array $context = array() X-Ref |
param: $level param: $message param: array $context |
interpolate($message, array $context = array() X-Ref |
Interpolates context values into the message placeholders. param: $message param: array $context return: string |
clear() X-Ref |
Deletes all messages |
collect() X-Ref |
return: array |
getName() X-Ref |
return: string |
getAssets() X-Ref |
return: array |
getWidgets() X-Ref |
return: array |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |