![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct (OutputFormatterStyleInterface $emptyStyle=null) | |
reset () | |
push (OutputFormatterStyleInterface $style) | |
pop (OutputFormatterStyleInterface $style=null) | |
getCurrent () | |
setEmptyStyle (OutputFormatterStyleInterface $emptyStyle) | |
getEmptyStyle () | |
Private Attributes | |
$styles | |
$emptyStyle | |
Definition at line 17 of file OutputFormatterStyleStack.php.
__construct | ( | OutputFormatterStyleInterface | $emptyStyle = null | ) |
Constructor.
OutputFormatterStyleInterface | null | $emptyStyle |
Definition at line 34 of file OutputFormatterStyleStack.php.
References OutputFormatterStyleStack\$emptyStyle, and OutputFormatterStyleStack\reset().
getCurrent | ( | ) |
Computes current style with stacks top codes.
Definition at line 93 of file OutputFormatterStyleStack.php.
References OutputFormatterStyleStack\$emptyStyle.
getEmptyStyle | ( | ) |
Definition at line 117 of file OutputFormatterStyleStack.php.
References OutputFormatterStyleStack\$emptyStyle.
pop | ( | OutputFormatterStyleInterface | $style = null | ) |
Pops a style from the stack.
OutputFormatterStyleInterface | null | $style |
\InvalidArgumentException | When style tags incorrectly nested |
Definition at line 67 of file OutputFormatterStyleStack.php.
References OutputFormatterStyleStack\$emptyStyle.
push | ( | OutputFormatterStyleInterface | $style | ) |
Pushes a style in the stack.
OutputFormatterStyleInterface | $style |
Definition at line 53 of file OutputFormatterStyleStack.php.
reset | ( | ) |
Resets stack (ie. empty internal arrays).
Definition at line 43 of file OutputFormatterStyleStack.php.
Referenced by OutputFormatterStyleStack\__construct().
setEmptyStyle | ( | OutputFormatterStyleInterface | $emptyStyle | ) |
OutputFormatterStyleInterface | $emptyStyle |
Definition at line 107 of file OutputFormatterStyleStack.php.
References OutputFormatterStyleStack\$emptyStyle.
|
private |
Definition at line 27 of file OutputFormatterStyleStack.php.
Referenced by OutputFormatterStyleStack\__construct(), OutputFormatterStyleStack\getCurrent(), OutputFormatterStyleStack\getEmptyStyle(), OutputFormatterStyleStack\pop(), and OutputFormatterStyleStack\setEmptyStyle().
|
private |
Definition at line 22 of file OutputFormatterStyleStack.php.