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

Public Member Functions

 __construct ()
 
 colorValue ($string)
 
 colorType ($string)
 
 colorTitle ($string)
 
 renderTitle (BasicObject $o)
 
 preRender ()
 
 postRender ()
 
 escape ($string, $encoding=false)
 
- Public Member Functions inherited from TextRenderer
 __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 ()
 

Static Public Attributes

static $cli_colors = true
 
static $force_utf8 = false
 
static $detect_width = true
 
static $min_terminal_width = 40
 
- Static Public Attributes inherited from TextRenderer
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

 utf8ToWindows ($string)
 
- Protected Member Functions inherited from TextRenderer
 calledFrom ()
 
 getPlugin (array $plugins, array $hints)
 

Protected Attributes

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

Static Protected Attributes

static $terminal_width = null
 

Additional Inherited Members

- Static Public Member Functions inherited from Renderer
static sortPropertiesFull (BasicObject $a, BasicObject $b)
 
- Data Fields inherited from TextRenderer
 $header_width = 80
 
 $indent_width = 4
 
- Data Fields inherited from Renderer
const SORT_NONE = 0
 
const SORT_VISIBILITY = 1
 
const SORT_FULL = 2
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Reimplemented from TextRenderer.

Member Function Documentation

◆ colorTitle()

colorTitle (   $string)

Reimplemented from TextRenderer.

◆ colorType()

colorType (   $string)

Reimplemented from TextRenderer.

◆ colorValue()

colorValue (   $string)

Reimplemented from TextRenderer.

◆ escape()

escape (   $string,
  $encoding = false 
)

Reimplemented from TextRenderer.

◆ postRender()

postRender ( )

Reimplemented from TextRenderer.

Here is the call graph for this function:

◆ preRender()

preRender ( )

Reimplemented from Renderer.

◆ renderTitle()

renderTitle ( BasicObject  $o)

Reimplemented from TextRenderer.

Here is the call graph for this function:

◆ utf8ToWindows()

utf8ToWindows (   $string)
protected
Here is the caller graph for this function:

Field Documentation

◆ $cli_colors

$cli_colors = true
static

◆ $colors

$colors = false
protected

◆ $detect_width

$detect_width = true
static

◆ $force_utf8

$force_utf8 = false
static

◆ $min_terminal_width

$min_terminal_width = 40
static

◆ $terminal_width

$terminal_width = null
staticprotected

◆ $windows_output

$windows_output = false
protected

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