$flexy->bufferedOutputObject()

$flexy->bufferedOutputObject() -- Merges a controller object with the template and returns the result

Synopsis

string $flexy->bufferedOutputObject (object $controllerObject [, array $elements])

Описание

This maps the values of the supplied object and runs the compiled template, and returns the result.

This can be used in conjuction with PEAR::Cache, or in the example below, with a email template (note this still needs testing.. - the backend should eventually support a native tokenizer for email templates.)

Параметр

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

string - the object variables overlayed on the template

Заметка

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

Пример


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