| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 243 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
OutputFormatter:: (12 methods):
escape()
escapeTrailingBackslash()
__construct()
setDecorated()
isDecorated()
setStyle()
hasStyle()
getStyle()
format()
getStyleStack()
createStyleFromString()
applyCurrentStyle()
Class: OutputFormatter - X-Ref
Formatter class for console output.| escape($text) X-Ref |
| Escapes "<" special char in given text. param: string $text Text to escape return: string Escaped text |
| escapeTrailingBackslash($text) X-Ref |
| Escapes trailing "\" in given text. param: string $text Text to escape return: string Escaped text |
| __construct($decorated = false, array $styles = []) X-Ref |
| Initializes console output formatter. param: bool $decorated Whether this formatter should actually decorate strings param: OutputFormatterStyleInterface[] $styles Array of "name => FormatterStyle" instances |
| setDecorated($decorated) X-Ref |
| {@inheritdoc} |
| isDecorated() X-Ref |
| {@inheritdoc} |
| setStyle($name, OutputFormatterStyleInterface $style) X-Ref |
| {@inheritdoc} |
| hasStyle($name) X-Ref |
| {@inheritdoc} |
| getStyle($name) X-Ref |
| {@inheritdoc} |
| format($message) X-Ref |
| {@inheritdoc} |
| getStyleStack() X-Ref |
return: OutputFormatterStyleStack |
| createStyleFromString($string) X-Ref |
| Tries to create new style instance from string. param: string $string return: OutputFormatterStyle|false false if string is not format string |
| applyCurrentStyle($text) X-Ref |
| Applies current style from stack to text, if must be applied. param: string $text Input text return: string Styled text |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |