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

Class: Zogan_Compiler

Source Location: /zogan.compiler.php

Class Overview

PEAR
   |
   --Zogan
      |
      --Zogan_Compiler

ZOGAN user interfase for template compiling


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Zogan

Zogan::Zogan()
constructor
Zogan::compile()
compiles the template file
Zogan::display()
displays the template results
Zogan::expand()
gets the template results as string
Zogan::removeCompiled()
removes the compiled template file
Zogan::setCompileDir()
sets the path for the directory where compiled files will be stored
Zogan::setFormatOption()
sets option for content formating
Zogan::setFunctions()
sets the function resouces to modify model data
Zogan::setNoEscapeVars()
sets the variable names not to be escaped
Zogan::setOption()
sets option
Zogan::setTemplateFile()
sets the path for the template file to display

Class Details

[line 38]
ZOGAN user interfase for template compiling



Tags:

access:  public


[ Top ]


Class Methods


method compileAll [line 64]

array compileAll( [stirng $ext = 'html'])

compile all the template files in TemplateDir



Tags:

return:  templates compiled


Parameters:

stirng   $ext   extention of templates

[ Top ]

method removeAllCompiled [line 98]

array removeAllCompiled( [stirng $ext = 'html'])

remove all the compiled template files in CompiledDir



Tags:

return:  compiled templates that is removed


Parameters:

stirng   $ext   extention of templates

[ Top ]

method setTemplateDir [line 53]

void setTemplateDir( stirng $dir)

set a path for directory where template files are



Parameters:

stirng   $dir  

[ Top ]


Documentation generated on Fri, 18 Jun 2004 19:40:20 +0900 by phpDocumentor 1.2.3