TYPO3
7.6
|
Public Member Functions | |
start ($id, $message, $prefix= 'RUN') | |
progress ($id, $buffer, $error=false, $prefix= 'OUT', $errorPrefix= 'ERR') | |
stop ($id, $message, $successful, $prefix= 'RES') | |
getName () | |
Public Member Functions inherited from Helper | |
setHelperSet (HelperSet $helperSet=null) | |
getHelperSet () | |
Private Member Functions | |
getBorder ($id) | |
Private Attributes | |
$colors = array('black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white', 'default') | |
$started = array() | |
$count = -1 | |
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 | |
Helps outputting debug information when running an external program from a command.
An external program can be a Process, an HTTP request, or anything else.
Definition at line 21 of file DebugFormatterHelper.php.
|
private |
string | $id | The id of the formatting session |
Definition at line 115 of file DebugFormatterHelper.php.
Referenced by DebugFormatterHelper\progress(), DebugFormatterHelper\start(), and DebugFormatterHelper\stop().
getName | ( | ) |
{Returns the canonical name of this helper.
Implements HelperInterface.
Definition at line 123 of file DebugFormatterHelper.php.
progress | ( | $id, | |
$buffer, | |||
$error = false , |
|||
$prefix = 'OUT' , |
|||
$errorPrefix = 'ERR' |
|||
) |
Adds progress to a formatting session.
string | $id | The id of the formatting session |
string | $buffer | The message to display |
bool | $error | Whether to consider the buffer as error |
string | $prefix | The prefix for output |
string | $errorPrefix | The prefix for error output |
Definition at line 54 of file DebugFormatterHelper.php.
References DebugFormatterHelper\getBorder().
start | ( | $id, | |
$message, | |||
$prefix = 'RUN' |
|||
) |
Starts a debug formatting session.
string | $id | The id of the formatting session |
string | $message | The message to display |
string | $prefix | The prefix to use |
Definition at line 36 of file DebugFormatterHelper.php.
References DebugFormatterHelper\getBorder().
stop | ( | $id, | |
$message, | |||
$successful, | |||
$prefix = 'RES' |
|||
) |
Stops a formatting session.
string | $id | The id of the formatting session |
string | $message | The message to display |
bool | $successful | Whether to consider the result as success |
string | $prefix | The prefix for the end output |
Definition at line 95 of file DebugFormatterHelper.php.
References DebugFormatterHelper\getBorder().
|
private |
Definition at line 23 of file DebugFormatterHelper.php.
|
private |
Definition at line 25 of file DebugFormatterHelper.php.
|
private |
Definition at line 24 of file DebugFormatterHelper.php.