Class

eZTemplateElementParser

class eZTemplateElementParser

Methods

templateTypeName($type)

parseVariableTag($tpl, $relatedTemplateName, $text, $startPosition, $endPosition, $textLength, $defaultNamespace, $allowedType = false, $maxElements = false, $endMarker = false, $undefinedType = eZTemplate::TYPE_ATTRIBUTE)

variableEndPos($tpl, $relatedTemplateName, $text, $startPosition, $textLength, $namespace, $name, $scope)

unescapeCharacters($string)

identifierEndPosition($tpl, $text, $start_pos, $len)

quoteEndPos($tpl, $text, $startPosition, $textLength, $quote)

numericEndPos($tpl, $text, $start_pos, $len, $float)

whitespaceEndPos($tpl, $text, $currentPosition, $textLength)

isWhitespace($tpl, $text, $startPosition)

Details

at line 19
public templateTypeName($type)

Parameters

$type

at line 40
public parseVariableTag($tpl, $relatedTemplateName, $text, $startPosition, $endPosition, $textLength, $defaultNamespace, $allowedType = false, $maxElements = false, $endMarker = false, $undefinedType = eZTemplate::TYPE_ATTRIBUTE)

Parameters

$tpl
$relatedTemplateName
$text
$startPosition
$endPosition
$textLength
$defaultNamespace
$allowedType
$maxElements
$endMarker
$undefinedType

at line 300
public variableEndPos($tpl, $relatedTemplateName, $text, $startPosition, $textLength, $namespace, $name, $scope)

Parameters

$tpl
$relatedTemplateName
$text
$startPosition
$textLength
$namespace
$name
$scope

at line 400
public unescapeCharacters($string)

Parameters

$string

at line 463
public identifierEndPosition($tpl, $text, $start_pos, $len)

Parameters

$tpl
$text
$start_pos
$len

at line 481
public quoteEndPos($tpl, $text, $startPosition, $textLength, $quote)

Parameters

$tpl
$text
$startPosition
$textLength
$quote

at line 499
public numericEndPos($tpl, $text, $start_pos, $len, $float)

Parameters

$tpl
$text
$start_pos
$len
$float

at line 559
public whitespaceEndPos($tpl, $text, $currentPosition, $textLength)

Parameters

$tpl
$text
$currentPosition
$textLength

at line 577
public isWhitespace($tpl, $text, $startPosition)

Parameters

$tpl
$text
$startPosition