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
Afficher le fichier
Open project: yiisoft/yii
Méthodes publiques
Méthodes publiques
Method Details
acceptToken()
public méthode
finalize()
public méthode
Signals that no more tokens are available
getOutput()
public méthode
preprocess()
public méthode
replaceCallback()
public méthode
Property Details
$_colors public_oe property
$_defColors public_oe property
$_lastClass public_oe property
class of last outputted text chunk
public string $_lastClass |
Résultat |
string |
|
$_numbers public_oe property
public bool $_numbers |
Résultat |
boolean |
|
$_output public_oe property
public string $_output |
Résultat |
string |
|
$_tabsize public_oe property
public int $_tabsize |
Résultat |
integer |
|