Zend Framework

Missing parameter in zend.controller.actionhelpers.html example code

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.0 RC1, 1.0.0 RC2
  • Fix Version/s: 1.0.0
  • Component/s: Zend_Controller
  • Labels:
    None
  • Language:
    English

Description

On http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.viewrenderer in section 7.8.4.3.1, in the second Note, an instruction is given on how to set the front controller parameter 'noViewRenderer'. It is missing the argument to which the parameter should be set, resulting in: "Warning: Missing argument 2 for Zend_Controller_Front::setParam()".

Assuming the param should be set to true, the code should read: $front->setParam('noViewRenderer',true)

This issue was raised by SpotSec on #zftalk.

Activity

Hide
Bill Karwin added a comment -

Assign to Matthew.

Show
Bill Karwin added a comment - Assign to Matthew.
Hide
Matthew Weier O'Phinney added a comment -

Resolved in r5390

Show
Matthew Weier O'Phinney added a comment - Resolved in r5390
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 (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: