-- Simon Mundy <[EMAIL PROTECTED]> wrote
(on Friday, 10 November 2006, 09:12 AM +1100):
> I noticed that the latest commit to the dispatcher has 'setParam' and
> 'clearParam'. Would it be possible to supply a string or an array of
> strings to 'clearParam' to selectively unset them as well as the
> option to clear all?

clearParams() is intended to clear the entire parameter stack.

setParam($name, null) would clear a single value, though the array key
would still exist; I'll modify the code to unset if a null value is
passed.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to