eZTemplateElementParser Class Reference

The class eZTemplateElementParser does. More...

List of all members.


Public Methods

 eZTemplateElementParser ()
 parseVariableTag (&$tpl,&$text,$startPosition,&$endPosition,$textLength,$defaultNamespace,$allowedType=false,$maxElements=false,$endMarker=false,$undefinedType=EZ_TEMPLATE_TYPE_ATTRIBUTE)
 variableEndPos (&$tpl,&$text,$startPosition,$textLength,&$namespace,&$name,&$scope)
 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)
 eZTemplateElementParser ()
 parseVariableTag (&$tpl,&$text,$startPosition,&$endPosition,$textLength,$defaultNamespace,$allowedType=false,$maxElements=false,$endMarker=false,$undefinedType=EZ_TEMPLATE_TYPE_ATTRIBUTE)
parseVariableTag2 (&$tpl,&$text,$start_pos,&$end,$len,$def_nspace)
parseOperators (&$tpl,&$text,$start_pos,&$end,$len,$def_nspace,$start_with_oper=false)
parseAttribute (&$tpl,&$text,$start_pos,&$end,$len,$def_nspace)
parseVariableAndAttributes (&$tpl,&$text,$start_pos,&$end,$len,$def_nspace)
 variableEndPos (&$tpl,&$text,$startPosition,$textLength,&$namespace,&$name,&$scope)
 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)

Detailed Description

The class eZTemplateElementParser does.

Definition at line eztemplateelementparser.php.


Constructor & Destructor Documentation

eZTemplateElementParser::eZTemplateElementParser  
 

Constructor

Definition at line eztemplateelementparser.php.

eZTemplateElementParser::eZTemplateElementParser  
 

Constructor

Definition at line eztemplateoldelementparser.php.


Member Function Documentation

eZTemplateElementParser::identifierEndPosition &$    tpl,
&$    text,
  start_pos,
  len
 

Returns the end position of the identifier. If no identifier was found the end position is returned.

Definition at line eztemplateoldelementparser.php.

References eZDebug::writeDebug().

eZTemplateElementParser::identifierEndPosition &$    tpl,
&$    text,
  start_pos,
  len
 

Returns the end position of the identifier. If no identifier was found the end position is returned.

Definition at line eztemplateelementparser.php.

References identifierEndPosition().

Referenced by variableEndPos().

eZTemplateElementParser::isWhitespace &$    tpl,
&$    text,
  startPosition
 

Returns the position of the first non-whitespace characters.

Definition at line eztemplateoldelementparser.php.

eZTemplateElementParser::isWhitespace &$    tpl,
&$    text,
  startPosition
 

Returns the position of the first non-whitespace characters.

Definition at line eztemplateelementparser.php.

eZTemplateElementParser::numericEndPos &$    tpl,
&$    text,
  start_pos,
  len,
&$    float
 

Returns the end position of the numeric. If no numeric was found the end position is returned.

Definition at line eztemplateoldelementparser.php.

References eZDebug::writeDebug().

eZTemplateElementParser::numericEndPos &$    tpl,
&$    text,
  start_pos,
  len,
&$    float
 

Returns the end position of the numeric. If no numeric was found the end position is returned.

Definition at line eztemplateelementparser.php.

Referenced by parseVariableTag2().

& eZTemplateElementParser::parseAttribute &$    tpl,
&$    text,
  start_pos,
&$    end,
  len,
  def_nspace
 

Parses attribute syntax.

Definition at line eztemplateoldelementparser.php.

References parseVariableTag().

Referenced by parseVariableAndAttributes().

& eZTemplateElementParser::parseOperators &$    tpl,
&$    text,
  start_pos,
&$    end,
  len,
  def_nspace,
  start_with_oper = false
 

Parses operator syntax.

Definition at line eztemplateoldelementparser.php.

References eZDebug::writeWarning().

Referenced by parseVariableTag2().

& eZTemplateElementParser::parseVariableAndAttributes &$    tpl,
&$    text,
  start_pos,
&$    end,
  len,
  def_nspace
 

Parses variables and attributes.

Definition at line eztemplateoldelementparser.php.

References eZDebug::writeWarning().

Referenced by parseVariableTag2().

eZTemplateElementParser::parseVariableTag &$    tpl,
&$    text,
  startPosition,
&$    endPosition,
  textLength,
  defaultNamespace,
  allowedType = false,
  maxElements = false,
  endMarker = false,
  undefinedType = EZ_TEMPLATE_TYPE_ATTRIBUTE
 

Parses the variable and operators into a structure.

Definition at line eztemplateoldelementparser.php.

References eZDebug::writeDebug().

eZTemplateElementParser::parseVariableTag &$    tpl,
&$    text,
  startPosition,
&$    endPosition,
  textLength,
  defaultNamespace,
  allowedType = false,
  maxElements = false,
  endMarker = false,
  undefinedType = EZ_TEMPLATE_TYPE_ATTRIBUTE
 

Parses the variable and operators into a structure.

Definition at line eztemplateelementparser.php.

References eZDebug::writeDebug().

Referenced by variableEndPos().

& eZTemplateElementParser::parseVariableTag2 &$    tpl,
&$    text,
  start_pos,
&$    end,
  len,
  def_nspace
 

Parses the variable and operators into a structure.

Definition at line eztemplateoldelementparser.php.

References eZDebug::writeDebug().

eZTemplateElementParser::quoteEndPos &$    tpl,
&$    text,
  startPosition,
  textLength,
  quote
 

Returns the end position of the quote $quote. If no quote was found the end position is returned.

Definition at line eztemplateoldelementparser.php.

eZTemplateElementParser::quoteEndPos &$    tpl,
&$    text,
  startPosition,
  textLength,
  quote
 

Returns the end position of the quote $quote. If no quote was found the end position is returned.

Definition at line eztemplateelementparser.php.

Referenced by parseVariableTag2().

eZTemplateElementParser::variableEndPos &$    tpl,
&$    text,
  startPosition,
  textLength,
&$    namespace,
&$    name,
&$    scope
 

Returns the end position of the variable.

Definition at line eztemplateoldelementparser.php.

References eZDebug::writeWarning().

eZTemplateElementParser::variableEndPos &$    tpl,
&$    text,
  startPosition,
  textLength,
&$    namespace,
&$    name,
&$    scope
 

Returns the end position of the variable.

Definition at line eztemplateelementparser.php.

References eZDebug::writeWarning().

Referenced by variableEndPos().

eZTemplateElementParser::whitespaceEndPos &$    tpl,
&$    text,
  currentPosition,
  textLength
 

Returns the position of the first non-whitespace characters.

Definition at line eztemplateoldelementparser.php.

eZTemplateElementParser::whitespaceEndPos &$    tpl,
&$    text,
  currentPosition,
  textLength
 

Returns the position of the first non-whitespace characters.

Definition at line eztemplateelementparser.php.

Referenced by parseVariableTag().


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

Exponential