Zend Framework

Add the possibility to reset a specific parameter in url view helper

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.0.3
  • Fix Version/s: 1.0.4
  • Component/s: Zend_Controller
  • Labels:
    None

Description

If an option is set to null, reset it from the route.

// So instead of  this
$this->view->url(array('action'=>'edit', 'controller'=>'crud', 'module'=>'users'), null, true );

// we could do that
$this->view->url(array('action'=>'edit', 'page'=>null));

This modification should occur in Zend_Controller_Router_Route

Issue Links

Activity

Hide
Michal Minicki added a comment -

It should work as you expect it to. There was a simple bug which broke this functionality. It is described in the other linked-to issue.

Show
Michal Minicki added a comment - It should work as you expect it to. There was a simple bug which broke this functionality. It is described in the other linked-to issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: