On Wed, Sep 16, 2009 at 4:28 PM, Exception e <[email protected]> wrote:
>
> Why does Zend_Uri_Http::setQuery() return the old query string?
> I don't expect this behaviour and
>
> Zend_Uri_Http::getQuery() does the same with the difference being that this
> method performs this check:
>
> <pre>return strlen($this->_query) > 0 ? $this->_query : false;</pre>
>
> To me this interface seems to be quite odd.

Maybe you could file a feature request. I'd def. vote for it. E.g. a
lot of components support a fluent interface and this one def. breaks
the pattern. Or maybe the author can comment what they had in mind
when they implemented it.

Till

Reply via email to