Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5202106
Hits Heute: 209
max. Hits (10.07.07): 6964
User Online: 45
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

PHP und MySQL - M+T Training Programmierung . Erfolgreich einsteigen zu Hause und im
PHP und MySQL - M+T Training Programmierung . Erfolgreich einsteigen zu Hause und im

Manuals > PEAR > $flexy->bufferedOutputObject()

$flexy->bufferedOutputObject()

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

Description

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.)

Parameter

  • object $controllerObject - The object you want to use with the template, the values of the object will relate to the $controllerObject->tag will map to on the template

  • array $elements - This is an associative array of form, or dynamic elements names (or id's) which will be merged with the one defined in the template.

Return value

string - the object variables overlayed on the template

Note

This function can not be called statically.

Example


Copyright 1998 - 2009 by I.S.U.M.