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

ios - Is 'init' forbidden as *part* of a variable name? -

javascript - Why Selenium can't find an element that is graphically visible -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -