Class Text_Highlighter_Renderer_Array
Array renderer, based on Andrey Demenev's HTML renderer.
In addition to the options supported by the HTML renderer, the following options were also introduced:- htmlspecialchars - whether or not htmlspecialchars() will be called on the content, default TRUE
- enumerated - type of array produced, default FALSE, meaning associative array
- Text_Highlighter_Renderer
- Text_Highlighter_Renderer_Array
Direct known subclasses
Text_Highlighter_Renderer_BB, Text_Highlighter_Renderer_Html, Text_Highlighter_Renderer_HtmlTags, Text_Highlighter_Renderer_JSON, Text_Highlighter_Renderer_XML
Package: Text\Highlighter
Category: Text
Copyright: 2006 Stoyan Stefanov
License: PHP License
Author: Stoyan Stefanov <ssttoo@gmail.com>
Version: Release: 0.5.0
Link: http://pear.php.net/package/Text_Highlighter
Located at x2engine/framework/vendors/TextHighlighter/Text/Highlighter/Renderer/Array.php
Category: Text
Copyright: 2006 Stoyan Stefanov
License: PHP License
Author: Stoyan Stefanov <ssttoo@gmail.com>
Version: Release: 0.5.0
Link: http://pear.php.net/package/Text_Highlighter
Located at x2engine/framework/vendors/TextHighlighter/Text/Highlighter/Renderer/Array.php
public
string
|
|
public
|
|
public
|
|
public
|
#
_getFullClassName( string $class )
Given a CSS class name, returns the class name with language name prepended, if necessary |
public
array
|
__construct(),
finalize(),
setCurrentLanguage()
|
public
integer
|
$_tabsize | 4 |
#
Tab size |
public
boolean
|
$_htmlspecialchars | true |
#
Should htmlentities() will be called |
public
integer
|
$_enumerated | false |
#
Enumerated or associative array |
public
array
|
$_output | array() |
#
Array containing highlighting rules |
$_language,
$_options
|