My favorites | Sign in
Project Logo
                
Search
for
Updated Jan 30, 2007 by gotfoo
Labels: Phase-Implementation, Featured
ReturnValues  

This page explains what is in the return package of the search services: When the results are returned that are in the form of an indexed array of associative arrays. Each array can be accessed by the zero based index number in a for loop or through a foreach loop:

for loop

for($i=0;$i<count($results);$i++){
  $result = $results[$i];
  echo $result['title'];
}

foreach loop

foreach($results as $result
  echo $result['title'];
}

Parameters

ParameterWeb SearchVideo SearchImage Search
title x x x
summary x x x
url x x x
clickUrl x x x
displayUrl x x x
modificationDate x
mimeType x
fileSize x x
fileFormat x x
height x x
width x x
duration x
streaming x
thumbnail x x
theight x x
twidth x x


Sign in to add a comment
Hosted by Google Code