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

Class: HTML_Template_Flexy_Compiler_Standard

Source Location: /HTML_Template_Flexy-0.8.0/Flexy/Compiler/Standard.php

Class Overview

HTML_Template_Flexy_Compiler
   |
   --HTML_Template_Flexy_Compiler_Standard

Compiler Globals go here..


Variables

Methods


Inherited Variables

Inherited Methods

Class: HTML_Template_Flexy_Compiler

HTML_Template_Flexy_Compiler::appendHtml()
Append HTML to compiled ouput These are hooks for passing data to other processes
HTML_Template_Flexy_Compiler::appendPhp()
Append PHP Code to compiled ouput These are hooks for passing data to other processes
HTML_Template_Flexy_Compiler::compile()
The compile method.
HTML_Template_Flexy_Compiler::factory()
Factory constructor

Class Details

[line 32]
Compiler Globals go here..

public (to it's children)



[ Top ]


Class Variables

$inGetTextBlock =  false

[line 237]

Flag indicating compiler is inside {_( .... )_} block, and should not add to the gettextstrings array.
  • Access: public

Type:   boolean


[ Top ]



Method Detail

compile   [line 44]

string compile( &$flexy, [ $string = false])

The compile method.
  • Return: filename of template
  • Access: public

Overrides HTML_Template_Flexy_Compiler::compile() (The compile method.)

Parameters:

   &$flexy   — 
   $string   — 

[ Top ]

getModifierWrapper   [line 428]

array getModifierWrapper( object HTML_Template_Flexy_Token_Method|Var $element)

get Modifier Wrapper

converts :h, :u, :r , .....

  • Return: prefix,suffix
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Method|Var   $element   — 

[ Top ]

toString   [line 250]

string toString( object HTML_Template_Flexy_Token_* $element)

This is the base toString Method, it relays into toString{TokenName}
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_*   $element   — 

[ Top ]

toStringElse   [line 304]

string toStringElse( object HTML_Template_Flexy_Token_Else $element)

HTML_Template_Flexy_Token_Else toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Else   $element   — 

[ Top ]

toStringEnd   [line 327]

string toStringEnd( object HTML_Template_Flexy_Token_Else $element)

HTML_Template_Flexy_Token_End toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Else   $element   — 

[ Top ]

toStringEndTag   [line 352]

string toStringEndTag( object HTML_Template_Flexy_Token_EndTag $element)

HTML_Template_Flexy_Token_EndTag toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_EndTag   $element   — 

[ Top ]

toStringForeach   [line 370]

string toStringForeach( object HTML_Template_Flexy_Token_Foreach $element)

HTML_Template_Flexy_Token_Foreach toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Foreach   $element   — 

[ Top ]

toStringIf   [line 404]

string toStringIf( object HTML_Template_Flexy_Token_If $element)

HTML_Template_Flexy_Token_If toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_If   $element   — 

[ Top ]

toStringMethod   [line 499]

string toStringMethod( object HTML_Template_Flexy_Token_Method $element)

HTML_Template_Flexy_Token_Method toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Method   $element   — 

[ Top ]

toStringProcessing   [line 592]

string toStringProcessing( object HTML_Template_Flexy_Token_Processing $element)

HTML_Template_Flexy_Token_Processing toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Processing   $element   — 

[ Top ]

toStringTag   [line 844]

string toStringTag( object HTML_Template_Flexy_Token_Tag $element)

HTML_Template_Flexy_Token_Tag toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Tag   $element   — 

[ Top ]

toStringText   [line 614]

string toStringText( object HTML_Template_Flexy_Token_Text $element)

HTML_Template_Flexy_Token_Text toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Text   $element   — 

[ Top ]

toStringVar   [line 478]

string toStringVar( object HTML_Template_Flexy_Token_Method $element)

HTML_Template_Flexy_Token_Var toString
  • Return: string to build a template
  • See: toString*
  • Access: public

Parameters:

object HTML_Template_Flexy_Token_Method   $element   — 

[ Top ]

translateString   [line 735]

string translateString( string $string)

translateString - a gettextWrapper

tries to do gettext or falls back on File_Gettext This has !!!NO!!! error handling - if it fails you just get english.. no questions asked!!!

  • Return: translated string..
  • Access: public

Parameters:

string   $string   —  string to translate

[ Top ]


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