Issues

ZF-2297: Add the possibility to reset a specific parameter in url view helper

Issue Type: Improvement Created: 2007-12-12T05:07:58.000+0000 Last Updated: 2008-02-26T12:56:00.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: Laurent Melmoux (laurent melmoux) Assignee: Michal Minicki (martel) Tags: - Zend_Controller

Related issues: - ZF-2218

Attachments:

Description

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

<pre class="highlight">
// 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

Comments

Posted by Michal Minicki (martel) on 2008-01-11T07:38:43.000+0000

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts