class Formater
Constants
FORMAT_PATTERN |
Mask used to identify a formated tag string like '
|
Properties
$messages | Written messages |
Methods
__construct(array $options = array())
|
||
__toString()
|
||
__destruct()
|
||
addOption($option_name, $option_value)
|
||
setAutospaced($autospaced = null)
|
||
setForegroundColor($foreground = null)
|
||
setBackgroundColor($background = null)
|
||
setTextOption($option = null)
|
||
setMessage($text = null, $foreground = null, $background = null, $option = null)
|
||
newLine()
|
||
message($text = null, $foreground = null, $background = null, $option = null)
|
||
prompt($text = null, $default = null)
|
||
buildTaggedString($str, $type = null)
|
||
parse($message)
|
||
spacedStr($str, $type = null, $newLines = false)
|
||
format($text = null, $foreground = null, $background = null, $option = null)
|
||
fetch($display = true, $exit = false, $last_nl = true)
|
Details
at line 173
public
__construct(array $options = array())
at line 182
public
__toString()
at line 187
public
__destruct()
at line 193
public
addOption($option_name, $option_value)
at line 204
public
setAutospaced($autospaced = null)
at line 209
public
setForegroundColor($foreground = null)
at line 216
public
setBackgroundColor($background = null)
at line 223
public
setTextOption($option = null)
at line 230
public
setMessage($text = null, $foreground = null, $background = null, $option = null)
at line 235
public
newLine()
at line 244
public
message($text = null, $foreground = null, $background = null, $option = null)
at line 249
public
prompt($text = null, $default = null)
at line 262
public
buildTaggedString($str, $type = null)
at line 267
public
parse($message)
at line 292
public
spacedStr($str, $type = null, $newLines = false)
at line 307
public
format($text = null, $foreground = null, $background = null, $option = null)
at line 341
public
fetch($display = true, $exit = false, $last_nl = true)