TYPO3
7.6
|
Public Member Functions | |
formatSection ($section, $message, $style= 'info') | |
formatBlock ($messages, $style, $large=false) | |
getName () | |
Public Member Functions inherited from Helper | |
setHelperSet (HelperSet $helperSet=null) | |
getHelperSet () | |
Additional Inherited Members | |
Static Public Member Functions inherited from Helper | |
static | strlen ($string) |
static | formatTime ($secs) |
static | formatMemory ($memory) |
static | strlenWithoutDecoration (OutputFormatterInterface $formatter, $string) |
Protected Attributes inherited from Helper | |
$helperSet = null | |
The Formatter class provides helpers to format messages.
Definition at line 21 of file FormatterHelper.php.
formatBlock | ( | $messages, | |
$style, | |||
$large = false |
|||
) |
Formats a message as a block of text.
string | array | $messages | The message to write in the block |
string | $style | The style to apply to the whole block |
bool | $large | Whether to return a large block |
Definition at line 46 of file FormatterHelper.php.
References OutputFormatter\escape(), and Helper\strlen().
formatSection | ( | $section, | |
$message, | |||
$style = 'info' |
|||
) |
Formats a message within a section.
string | $section | The section name |
string | $message | The message |
string | $style | The style to apply to the section |
Definition at line 32 of file FormatterHelper.php.
getName | ( | ) |
{Returns the canonical name of this helper.
Implements HelperInterface.
Definition at line 78 of file FormatterHelper.php.