ZF-2769: form() view helper should allow requesting open tag only


The form() helper currently requires content, which it then wraps in a form tag. In some cases, being able to open the form only would be useful, particularly as the helper escapes all attributes. This would allow easier creation of view scripts for rendering forms created with Zend_Form.

Suggested API is the same; simply allow passing a boolean false value for the content, which would trigger an opening tag only:

<?= $this->form('login', false, $attribs) ?>


Updated in trunk and release-1.5 branch.