PHP Class Text_Highlighter_Renderer_Console, yii
Suitable for displaying text on color-capable terminals, directly
or trough less -r
Elements of $options argument of constructor (each being optional):
- 'numbers' - whether to add line numbers
- 'tabsize' - Tab size
- 'colors' - additional colors
Exibir arquivo
Open project: yiisoft/yii
Public Properties
Public Methods
Method Details
acceptToken()
public method
Signals that no more tokens are available
getOutput()
public method
preprocess()
public method
replaceCallback()
public method
Property Details
$_colors public_oe property
$_defColors public_oe property
$_lastClass public_oe property
class of last outputted text chunk
public string $_lastClass |
return |
string |
|
$_numbers public_oe property
public bool $_numbers |
return |
boolean |
|
$_output public_oe property
public string $_output |
return |
string |
|
$_tabsize public_oe property
public int $_tabsize |
return |
integer |
|