How can i use flash messenger in zend freamwork 2? Session documentation is not yet. Anyone know it? But session libraries are there.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i have written a post about this some time ago. You can find it right here
Basically you use it just the same like earlier.
Then in your .phtml file you do it like this:
Obviously this isn’t all too handy, as you have to do this for every single .phtml file. Therefore doing it within the layout you have to do it at best like the following:
If you need further description, please see my blog, but i guess the code itself is pretty clear (apart frmo the layout.phtml example). Alternatively you’re always free to write your own view helper to have it look a little cleaner inside your view-templates.