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

Class: HTML_Template_Flexy_Compiler_Standard_Flexy

Source Location: /HTML_Template_Flexy-1.3.13/HTML/Template/Flexy/Compiler/Standard/Flexy.php

Class Overview


the <flexy:XXXX namespace


Author(s):

Version:

  • $Id: Flexy.php 334846 2014-09-12 04:50:56Z alan_k $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
the <flexy:XXXX namespace

at present it handles <flexy:toJavascript flexy:prefix="Javascript_prefix" javscriptName="PHPvar" .....> <flexy:include src="xxx.htm">

  • Version: $Id: Flexy.php 334846 2014-09-12 04:50:56Z alan_k $


[ Top ]


Class Variables

$compiler =

[line 47]

Parent Compiler for
  • Access: public

Type:   object HTML_Template_Flexy_Compiler


[ Top ]

$element =

[line 56]

The current element to parse..
  • Access: public

Type:   object


[ Top ]



Method Detail

functionToString   [line 172]

void functionToString( object token $element)

Handler for User defined functions in templates..

<flexy:function name="xxxxx">.... </flexy:block> // equivilant to function xxxxx() { <flexy:function call="{xxxxx}">.... </flexy:block> // equivilant to function {$xxxxx}() { <flexy:function call="xxxxx">.... </flexy:block> // equivilant to function {$xxxxx}() {

This will not handle nested blocks initially!! (and may cause even more problems with if /foreach stuff..!!

  • Access: public

Parameters:

object token   $element   —  to convert into a element.

[ Top ]

includeToString   [line 120]

void includeToString( $element)

include handler <flexy:include src="test.html">
  • See: parent::toString()

Parameters:

   $element   — 

[ Top ]

toElement   [line 152]

object HTML_Template_Flexy_Element toElement( object token $element)

Convert flexy tokens to HTML_Template_Flexy_Elements.
  • Access: public

Parameters:

object token   $element   —  to convert into a element.

[ Top ]

toJavascriptToString   [line 90]

void toJavascriptToString( $element)

toJavascript handler <flexy:toJavascript flexy:prefix="some_prefix_" javascriptval="php.val" ....>
  • See: parent::toString()

Parameters:

   $element   — 

[ Top ]

toString   [line 69]

void toString( $element)

toString - display tag, attributes, postfix and any code in attributes.

Relays into namspace::method to get results..

  • See: parent::toString()

Parameters:

   $element   — 

[ Top ]


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