Renderer
in package
Table of Contents
- SORT_FULL = 2
- SORT_NONE = 0
- SORT_VISIBILITY = 1
- $call_info : mixed
- $show_trace : mixed
- $statics : mixed
- filterParserPlugins() : mixed
- getCallInfo() : mixed
- getShowTrace() : mixed
- getStatics() : mixed
- matchPlugins() : array<string|int, mixed>
- Returns the first compatible plugin available.
- postRender() : mixed
- preRender() : mixed
- render() : mixed
- renderNothing() : mixed
- setCallInfo() : mixed
- setShowTrace() : mixed
- setStatics() : mixed
- sortProperties() : array<string|int, BasicObject>
- Sorts an array of BasicObject.
- sortPropertiesFull() : mixed
Constants
SORT_FULL
public
mixed
SORT_FULL
= 2
SORT_NONE
public
mixed
SORT_NONE
= 0
SORT_VISIBILITY
public
mixed
SORT_VISIBILITY
= 1
Properties
$call_info
protected
mixed
$call_info
= array()
$show_trace
protected
mixed
$show_trace
= true
$statics
protected
mixed
$statics
= array()
Methods
filterParserPlugins()
public
filterParserPlugins(array<string|int, mixed> $plugins) : mixed
Parameters
- $plugins : array<string|int, mixed>
Return values
mixed —getCallInfo()
public
getCallInfo() : mixed
Return values
mixed —getShowTrace()
public
getShowTrace() : mixed
Return values
mixed —getStatics()
public
getStatics() : mixed
Return values
mixed —matchPlugins()
Returns the first compatible plugin available.
public
matchPlugins(array<string|int, mixed> $plugins, array<string|int, mixed> $hints) : array<string|int, mixed>
Parameters
- $plugins : array<string|int, mixed>
-
Array of hints to class strings
- $hints : array<string|int, mixed>
-
Array of object hints
Return values
array<string|int, mixed> —Array of hints to class strings filtered and sorted by object hints
postRender()
public
postRender() : mixed
Return values
mixed —preRender()
public
preRender() : mixed
Return values
mixed —render()
public
abstract render(BasicObject $o) : mixed
Parameters
- $o : BasicObject
Return values
mixed —renderNothing()
public
abstract renderNothing() : mixed
Return values
mixed —setCallInfo()
public
setCallInfo(array<string|int, mixed> $info) : mixed
Parameters
- $info : array<string|int, mixed>
Return values
mixed —setShowTrace()
public
setShowTrace(mixed $show_trace) : mixed
Parameters
- $show_trace : mixed
Return values
mixed —setStatics()
public
setStatics(array<string|int, mixed> $statics) : mixed
Parameters
- $statics : array<string|int, mixed>
Return values
mixed —sortProperties()
Sorts an array of BasicObject.
public
static sortProperties(array<string|int, BasicObject> $contents, int $sort) : array<string|int, BasicObject>
Parameters
- $contents : array<string|int, BasicObject>
-
Object properties to sort
- $sort : int
Return values
array<string|int, BasicObject> —sortPropertiesFull()
public
static sortPropertiesFull(BasicObject $a, BasicObject $b) : mixed
Parameters
- $a : BasicObject
- $b : BasicObject