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

Public Member Functions

 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 Member Functions

static sortPropertiesFull (BasicObject $a, BasicObject $b)
 

Data Fields

const SORT_NONE = 0
 
const SORT_VISIBILITY = 1
 
const SORT_FULL = 2
 

Protected Attributes

 $call_info = array()
 
 $statics = array()
 
 $show_trace = true
 

Member Function Documentation

◆ filterParserPlugins()

filterParserPlugins ( array  $plugins)

Reimplemented in TextRenderer.

◆ getCallInfo()

getCallInfo ( )

◆ getShowTrace()

getShowTrace ( )

◆ getStatics()

getStatics ( )

◆ matchPlugins()

matchPlugins ( array  $plugins,
array  $hints 
)

Returns the first compatible plugin available.

Parameters
array$pluginsArray of hints to class strings
array$hintsArray of object hints
Returns
array Array of hints to class strings filtered and sorted by object hints
Here is the caller graph for this function:

◆ postRender()

postRender ( )

◆ preRender()

preRender ( )

Reimplemented in CliRenderer, PlainRenderer, and RichRenderer.

◆ render()

render ( BasicObject  $o)
abstract

Reimplemented in RichRenderer, and TextRenderer.

◆ renderNothing()

renderNothing ( )
abstract

Reimplemented in RichRenderer, and TextRenderer.

◆ setCallInfo()

setCallInfo ( array  $info)

Reimplemented in PlainRenderer, and RichRenderer.

◆ setShowTrace()

setShowTrace (   $show_trace)
Here is the caller graph for this function:

◆ setStatics()

setStatics ( array  $statics)

Reimplemented in PlainRenderer, and RichRenderer.

Here is the call graph for this function:

◆ sortPropertiesFull()

static sortPropertiesFull ( BasicObject  $a,
BasicObject  $b 
)
static
Here is the call graph for this function:

Field Documentation

◆ $call_info

$call_info = array()
protected

◆ $show_trace

$show_trace = true
protected

◆ $statics

$statics = array()
protected

◆ SORT_FULL

const SORT_FULL = 2

◆ SORT_NONE

const SORT_NONE = 0

◆ SORT_VISIBILITY

const SORT_VISIBILITY = 1

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