\Fuman_Template_Processor

Processors are used to provide additional functionalities in template

Summary

Methods
Properties
Constants
__construct()
getName()
getParseLevel()
processValue()
getUsages()
No public properties found
No constants found
_getValue()
$_name
$_parseLevel
N/A
No private methods found
No private properties found
N/A

Properties

$_name

$_name : 

Type

$_parseLevel

$_parseLevel : 

Type

Methods

__construct()

__construct(string  $name, integer  $parseLevel) 

Constructor

Parameters

string $name
integer $parseLevel

getName()

getName() : null

Gets name of processor

Returns

null

getParseLevel()

getParseLevel() : integer

Gets parse level (0-n)

Returns

integer

processValue()

processValue(array  $arguments, object  $parentData) : string

Default parse value implementation

Parameters

array $arguments
object $parentData

Returns

string

getUsages()

getUsages() : array<mixed,\Fuman_Template_Usage>

Gets possible usages

Returns

array<mixed,\Fuman_Template_Usage>

_getValue()

_getValue(array|string  $arguments, null|object  $data = null) : string

Gets value for the given name

Parameters

array|string $arguments
null|object $data

Returns

string