JavaScript Editor Javascript validator     Web page editor 



$flexy->compile()

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

Synopsis

void $flexy-> compile (string $template)

Description

If necessary 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

It is not normally necessary to set the forceCompile flag, unless you are working on the engine itself.

Parameter

Return value

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

Note

This function can not be called statically.

Example




JavaScript Editor Javascript validator     Web page editor