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

Class: HTML_Template_Flexy_Compiler

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

Class Overview


Compiler Globals go here..


Variables

Methods


Child classes:

HTML_Template_Flexy_Compiler_Flexy
Compiler Globals go here..
HTML_Template_Flexy_Compiler_Standard
Compiler Globals go here..
HTML_Template_Flexy_Compiler_SmartyConvertor
The Smarty Converter implementation.

Inherited Variables

Inherited Methods


Class Details

[line 35]
Compiler Globals go here..

public (to it's children)



[ Top ]


Class Variables

$options =

[line 44]

Options
  • Access: public

Type:   array


[ Top ]



Method Detail

appendHtml   [line 107]

string appendHtml( string $string)

Append HTML to compiled ouput These are hooks for passing data to other processes
  • Return: to be output
  • Access: public

Parameters:

string   $string   —  to append to compiled

[ Top ]

appendPhp   [line 122]

string appendPhp( string $string)

Append PHP Code to compiled ouput These are hooks for passing data to other processes
  • Return: to be output
  • Access: public

Parameters:

string   $string   —  PHP code to append to compiled

[ Top ]

compile   [line 93]

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

The compile method.
  • Access: public

Overridden in child classes as:

HTML_Template_Flexy_Compiler_Flexy::compile()
The compile method.
HTML_Template_Flexy_Compiler_Standard::compile()
The compile method.
HTML_Template_Flexy_Compiler_SmartyConvertor::compile()
compile implementation

Parameters:

object HTML_Template_Flexy   &$flexy   —  that is requesting the compile
   $string   — 

[ Top ]

compileAll   [line 137]

string compileAll( string &$flexy, [ $dir = ''], [ $regex = '/.html$/'])

Compile All templates in the These are hooks for passing data to other processes
  • Return: to be output
  • Access: public

Parameters:

string   &$flexy   —  PHP code to append to compiled
   $dir   — 
   $regex   — 

[ Top ]

compileDir   [line 144]

void compileDir( [ $dir = ''], [ $regex = '/.html$/'])


Parameters:

   $dir   — 
   $regex   — 

[ Top ]

factory   [line 54]

object The factory( array $options)

Factory constructor
  • Return: Compiler Object
  • Access: public

Parameters:

array   $options   —  options only ['compiler'] is used directly

[ Top ]

is_a   [line 73]

void is_a( $obj, $class)

Php4 is_a compat !

Parameters:

   $obj   — 
   $class   — 

[ Top ]


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