google cse

Backwardelements 2011-01-19

      if (isset($result->IMAGE)) {

$img=array(

'width'=>'IMAGE_WIDTH',

'height'=>'IMAGE_HEIGHT',

'src'=>'IMAGE_SOURCE',

);

foreach($imgas$attribute=>$element){

if(isset($result->IMAGE->$element)){

$image[$attribute]=(string)$result->IMAGE->$element;

}

}

     }

-----------------------

Add configurable results-per-page

http://drupal.org/node/921180

-----------------------

相关推荐