Zend Framework

Zend_Form quick start incorrect

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.5.0
  • Fix Version/s: 1.5.2
  • Component/s: Zend_Form
  • Labels:
    None
  • Language:
    English

Description

In Zend_Form documentation, at 15.2.6:

if (!$form->isValid($_POST)) {
            // Failed validation; redisplay form
            $this->form = $form;
            return $this->render('form');
        }

I think it's:

if (!$form->isValid($_POST)) {
            // Failed validation; redisplay form
            $this->view->form = $form;
            return $this->render('form');
        }

Activity

Hide
Matthew Weier O'Phinney added a comment -

Scheduling for next mini release.

Show
Matthew Weier O'Phinney added a comment - Scheduling for next mini release.
Hide
Matthew Weier O'Phinney added a comment -

Resolved in trunk as of r9379.

Show
Matthew Weier O'Phinney added a comment - Resolved in trunk as of r9379.
Hide
Wil Sinclair added a comment -

Changing to comply with new IT coventions for components.

Show
Wil Sinclair added a comment - Changing to comply with new IT coventions for components.

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: