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? -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -

c# - Get the Class name in a class with atribute inside a attribute method -