new HTML_Template_Flexy (Previous) (Next) $flexy->outputObject()

Last updated: Sun, 16 May 2004

$flexy->compile()

$flexy->compile() -- Converts a template from markup to PHP if required

ïÐÉÓÁÎÉÅ

If neccessary it will convert the Template markup into PHP code, and writes it to the compiledTemplate directory adding the {locale}.php to the end of the filename. The Template is only compiled if

  • No compiled file exists

  • The file modification date of the template is greater than the compiled one

  • The forceCompile Flag was set in config or when you created the template object.

It is not normally neccesary to set the forceCompile flag, unles you are working on the engine it'self.

ðÁÒÁÍÅÔÒ

  • string $template - Used in conjuction with the config variable 'templateDir' to locate the template to compile into PHP code.

÷ÏÚ×ÒÁÝÁÅÍÏÅ ÚÎÁÞÅÎÉÅ

string - the location of the compiled file (which could be used with include) - although it is recommended to use the outputObject methods.

úÁÍÅÔËÁ

üÔÁ ÆÕÎËÃÉÑ ÎÅ ÄÏÌÖÎÁ ×ÙÚÙ×ÁÔØÓÑ ÓÔÁÔÉÞÅÓËÉ.

ðÒÉÍÅÒ

new HTML_Template_Flexy (Previous) (Next) $flexy->outputObject()

Download Documentation Last updated: Sun, 16 May 2004
Hosting
HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà