Jump to Navigation
Home

Main menu

  • Home
  • Our employees
  • Vacature

Zend

The Action View Helper

Mon, 11/29/2010 - 13:26

Situation:

I use Zend_Layout to create a global view template for my website and the view (.phtml) that corresponds to a controller/action will be loaded into the $this->layout->content variable automatically.

All good but what to do with a form in your global template?

Building the form (Zend_Form) into your view isn’t really a clean option and what about validation of the form? There is no controller/action from where the form was build and so there is no controller/action where to post the form to.

  • Read more about The Action View Helper
  • Yves's blog
  • 157867 comments
POSTED BY
Yves
Yves's picture
Tweet
Post on facebook Share
Show comments on this post