Properties

$type

$type : string

Type

string

$parameters

$parameters : array

Type

array

$parametersRaw

$parametersRaw

$attributes

$attributes

$privateAttributes

$privateAttributes

$index

$index : int

Type

int

$key

$key

$exists

$exists

$classType

$classType

$parsed

$parsed

$parent

$parent

$allowLines

$allowLines

$allowWhiteSpace

$allowWhiteSpace

$inLine

$inLine

$injected

$injected

$info

$info

$parametersParser

$parametersParser

$indexes

$indexes

$allowLineAfter

$allowLineAfter

$isVariableContext

$isVariableContext

$iterations

$iterations

$i

$i

$variableContext

$variableContext

$isParent

$isParent

$renderedChildren

$renderedChildren : string

Type

string

Methods

__construct()

__construct(\WikiLingo\Parsed $parsed)

Parameters

\WikiLingo\Parsed $parsed

typeShort()

typeShort(mixed $name) : string

Gets short class name from string. A_PLUGIN_NAME or a_plugin_name will be converted to APluginName

Parameters

mixed $name

Returns

string

preRender()

preRender( $renderer)

Parameters

$renderer

render()

render( $renderer,  $parser) : string

Parameters

$renderer
$parser

Returns

string

postRender()

postRender( $renderer)

Parameters

$renderer

info()

info() : bool

Returns

bool

addAttribute()

addAttribute(mixed $type, mixed $value)

Parameters

mixed $type
mixed $value

parameter()

parameter(mixed $type) : string

Parameters

mixed $type

Returns

string

variables()

variables()

id()

id() : string

Expression id - {type}# (Bold7)

Returns

string

setIterations()

setIterations(int $iterations)

Parameters

int $iterations

setVariableContext()

setVariableContext( $variableContext)

Parameters

$variableContext

incrementPluginIndex()

incrementPluginIndex(mixed $type) : \WikiLingo\Expression\Number

Increments the plugin index, but on a plugin type by type basis, for example, html1, html2, div1, div2. indexes are static, so that all index are unique

Parameters

mixed $type

Returns

\WikiLingo\Expression\Number