apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: HTML_Template_Flexy_Token_Text

Source Location: /HTML_Template_Flexy-1.3.13/HTML/Template/Flexy/Token/Text.php

Class Overview

HTML_Template_Flexy_Token
   |
   --HTML_Template_Flexy_Token_Text

Class that represents a text string node.


Methods


Child classes:

HTML_Template_Flexy_Token_Cdata
Cdata Class (extends text).. - it really should do more!! :)

Inherited Variables

Inherited Methods

Class: HTML_Template_Flexy_Token

HTML_Template_Flexy_Token::buildChildren()
Build the child array for each element.
HTML_Template_Flexy_Token::buildTokens()
Run a Tokenizer and Store its results It should build a DOM Tree of the HTML
HTML_Template_Flexy_Token::compile()
compile to String (vistor method) replaces toString
HTML_Template_Flexy_Token::compileChildren()
compile children (visitor approach).
HTML_Template_Flexy_Token::dump()
dump to text ATM
HTML_Template_Flexy_Token::factory()
factory a Token
HTML_Template_Flexy_Token::findVar()
do the stack lookup on the variable this relates to flexy t relates to the object being parsed.
HTML_Template_Flexy_Token::pullState()
tell the generator you are entering a block
HTML_Template_Flexy_Token::pushState()
tell the generator you are entering a block
HTML_Template_Flexy_Token::pushVar()
add a variable to the stack.
HTML_Template_Flexy_Token::scopeVarsToArrayString()
get the scoped variables as an array of strings so that it can be passed to child templates...
HTML_Template_Flexy_Token::setValue()
Standard Value iterpretor
HTML_Template_Flexy_Token::toVar()
get the real variable name formated x.y.z => $this->x->y->z if a variable is in the stack it return $x->y->z

Class Details

[line 29]
Class that represents a text string node.


[ Top ]


Method Detail

isWord   [line 41]

boolean isWord( )

Simple check to see if this piece of text is a word so that gettext and the merging tricks dont try
  • merge white space with a flexy tag
  • gettext doesnt translate   etc.

  • Return: true if this is a word
  • Access: public

[ Top ]

toString   [line 53]

void toString( )

used to get the contents..

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:59:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.