Sounds great Matthew, cheers!

-- 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/

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com


Reply via email to