Zend Framework

Add methods for setting multiple GET/POST parameters at once

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Not an Issue
  • Affects Version/s: None
  • Fix Version/s: 1.5.0
  • Component/s: Zend_Http_Client
  • Labels:
    None
  • Fix Version Priority:
    Nice to Have

Description

Currently, the only way to set multiple request parameters in Zend_Http_Client is by successive calls to setParameterPost() and setParameterGet(). This is inconvenient when multiple parameters are required.

Please add setParametersPost() and setParametersGet() (note the plural) to simplify this process.

Activity

Hide
Shahar Evron added a comment -

Hi,

If I understand you correctly, you can pass an associative array to either setParameterGet() or setParameterPost() to set multiple GET or POST parameters with one call. see http://framework.zend.com/manual/en/zend.http.html#zend.http.client.parameters .

Show
Shahar Evron added a comment - Hi, If I understand you correctly, you can pass an associative array to either setParameterGet() or setParameterPost() to set multiple GET or POST parameters with one call. see http://framework.zend.com/manual/en/zend.http.html#zend.http.client.parameters .
Hide
Matthew Weier O'Phinney added a comment -

Thanks, Shahar – I missed that in the docs.

Show
Matthew Weier O'Phinney added a comment - Thanks, Shahar – I missed that in the docs.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: