PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » Services_Google » Bug #2376

square brackets in var names are not encoded

Details

Request #2376square brackets in var names are not encoded
Submitted2004-09-22 23:30 UTC
Fromalexei at net24 dot co dot nz
Assignedamir
StatusClosed
PackageServices_Google
PHP Version5.0.1
OSfreebsd
Roadmaps(Not assigned)

Comments

[2004-09-22 23:30 UTC] alexei at net24 dot co dot nz

Description:
------------
I suggest an extension to the package

This function allows to get various details of the search response eg. estimatedTotalResultsCount and so on.
Sometimes they are more interesting for the application then search results itself

Reproduce code:
---------------
public function getResponseValue($key)
{
if (!is_null($this->_result))
{
return $this->_result->$key;
}
return null;
}

[2004-09-22 23:34 UTC] alexei at net24 dot co dot nz

report bug replaced my bug simmary with a wrong one :(

correct should be
function to get search response details

[2004-11-07 20:14 UTC] jellybob at gmail dot com

Can you clarify what it is that you think this method should do?

As far as I can tell this is already implemented.

[2004-11-07 21:25 UTC] alexei at net24 dot co dot nz

current package allows only to traverse search results but it does not allow to read additional info from search response.
Such info as documentFiltering, estimatedTotalResultsCount, searchTime and so on.

For example, in my application i do search for various keywords but i'm not interested in what is found, i'm only interested in total number of results returned (estimatedTotalResultsCount).

My function in the comment above allows to acquire such info from the search response