cakephp - How to process and change output before it is sent back to the browser? -


i want implement mechanism in cakephp shortcodes in wordpress. want save pages (in db) tokens, e.g.

[form id=12] 

and then, after view got rendered , before sent browser, want search rendered view these tokens, , replace them else.

i assume i'll have use beforefilter, afterfilter or beforerender, can't find documentation (including in cakephp's own documentation!) how these overriden functions can used change output.

can help?


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

c++ - Migration from QScriptEngine to QJSEngine -

delphi - Take screenshot in webcam using VFrames in Console Application -