API - XOOPS 2.5.11 Beta 2
By monxoops.fr
TextRenderer Class Reference
Inheritance diagram for TextRenderer:
Collaboration diagram for TextRenderer:

Public Member Functions

 __construct ()
 
 render (BasicObject $o)
 
 renderNothing ()
 
 boxText ($text, $width)
 
 renderTitle (BasicObject $o)
 
 renderHeader (BasicObject $o)
 
 renderChildren (BasicObject $o)
 
 colorValue ($string)
 
 colorType ($string)
 
 colorTitle ($string)
 
 postRender ()
 
 filterParserPlugins (array $plugins)
 
 ideLink ($file, $line)
 
 escape ($string, $encoding=false)
 
- Public Member Functions inherited from Renderer
 render (BasicObject $o)
 
 renderNothing ()
 
 setCallInfo (array $info)
 
 getCallInfo ()
 
 setStatics (array $statics)
 
 getStatics ()
 
 setShowTrace ($show_trace)
 
 getShowTrace ()
 
 matchPlugins (array $plugins, array $hints)
 
 filterParserPlugins (array $plugins)
 
 preRender ()
 
 postRender ()
 

Data Fields

 $header_width = 80
 
 $indent_width = 4
 
- Data Fields inherited from Renderer
const SORT_NONE = 0
 
const SORT_VISIBILITY = 1
 
const SORT_FULL = 2
 

Static Public Attributes

static $plugins
 
static $parser_plugin_whitelist
 
static $strlen_max = 0
 
static $default_width = 80
 
static $default_indent = 4
 
static $decorations = true
 
static $sort = self::SORT_NONE
 

Protected Member Functions

 calledFrom ()
 
 getPlugin (array $plugins, array $hints)
 

Protected Attributes

 $plugin_objs = array()
 
- Protected Attributes inherited from Renderer
 $call_info = array()
 
 $statics = array()
 
 $show_trace = true
 

Additional Inherited Members

- Static Public Member Functions inherited from Renderer
static sortPropertiesFull (BasicObject $a, BasicObject $b)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Reimplemented in CliRenderer, and PlainRenderer.

Member Function Documentation

◆ boxText()

boxText (   $text,
  $width 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calledFrom()

calledFrom ( )
protected

◆ colorTitle()

colorTitle (   $string)

Reimplemented in CliRenderer, and PlainRenderer.

Here is the caller graph for this function:

◆ colorType()

colorType (   $string)

Reimplemented in CliRenderer, and PlainRenderer.

Here is the caller graph for this function:

◆ colorValue()

colorValue (   $string)

Reimplemented in CliRenderer, and PlainRenderer.

Here is the caller graph for this function:

◆ escape()

escape (   $string,
  $encoding = false 
)

Reimplemented in CliRenderer, and PlainRenderer.

Here is the caller graph for this function:

◆ filterParserPlugins()

filterParserPlugins ( array  $plugins)

Reimplemented from Renderer.

◆ getPlugin()

getPlugin ( array  $plugins,
array  $hints 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ideLink()

ideLink (   $file,
  $line 
)

Reimplemented in PlainRenderer.

Here is the call graph for this function:

◆ postRender()

postRender ( )

Reimplemented from Renderer.

Reimplemented in CliRenderer, and PlainRenderer.

Here is the call graph for this function:

◆ render()

render ( BasicObject  $o)

Reimplemented from Renderer.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderChildren()

renderChildren ( BasicObject  $o)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderHeader()

renderHeader ( BasicObject  $o)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderNothing()

renderNothing ( )

Reimplemented from Renderer.

Here is the call graph for this function:

◆ renderTitle()

renderTitle ( BasicObject  $o)

Reimplemented in CliRenderer, and PlainRenderer.

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ $decorations

$decorations = true
static

◆ $default_indent

$default_indent = 4
static

◆ $default_width

$default_width = 80
static

◆ $header_width

$header_width = 80

◆ $indent_width

$indent_width = 4

◆ $parser_plugin_whitelist

$parser_plugin_whitelist
static
Initial value:
= array(
'Kint\\Parser\\BlacklistPlugin',
'Kint\\Parser\\MicrotimePlugin',
'Kint\\Parser\\StreamPlugin',
'Kint\\Parser\\TracePlugin',
)

Parser plugins must be instanceof one of these or it will be removed for performance reasons.

◆ $plugin_objs

$plugin_objs = array()
protected

◆ $plugins

$plugins
static
Initial value:
= array(
'blacklist' => 'Kint\\Renderer\\Text\\BlacklistPlugin',
'depth_limit' => 'Kint\\Renderer\\Text\\DepthLimitPlugin',
'microtime' => 'Kint\\Renderer\\Text\\MicrotimePlugin',
'recursion' => 'Kint\\Renderer\\Text\\RecursionPlugin',
'trace' => 'Kint\\Renderer\\Text\\TracePlugin',
)

TextRenderer plugins should be instances of Kint\Renderer\Text\Plugin.

◆ $sort

$sort = self::SORT_NONE
static

◆ $strlen_max

$strlen_max = 0
static

The documentation for this class was generated from the following file: