$flexy->compile()

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

Synopsis

void $flexy-> compile (string $template)

Описание

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

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

Параметр

Возвращаемое значение

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

Заметка

Эта функция не должна вызываться статически.

Пример


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ