Google_Search

The Goolytics - Simple Google Analytics Google Search class.

Defined (1)

The class is defined in the following location(s).

/inc/google-api-php-client/src/contrib/Google_CustomsearchService.php  
  1. class Google_Search extends Google_Model { 
  2. protected $__promotionsType = 'Google_Promotion'; 
  3. protected $__promotionsDataType = 'array'; 
  4. public $promotions; 
  5. public $kind; 
  6. protected $__urlType = 'Google_SearchUrl'; 
  7. protected $__urlDataType = ''; 
  8. public $url; 
  9. protected $__itemsType = 'Google_Result'; 
  10. protected $__itemsDataType = 'array'; 
  11. public $items; 
  12. protected $__contextType = 'Google_Context'; 
  13. protected $__contextDataType = ''; 
  14. public $context; 
  15. protected $__queriesType = 'Google_Query'; 
  16. protected $__queriesDataType = 'map'; 
  17. public $queries; 
  18. protected $__spellingType = 'Google_SearchSpelling'; 
  19. protected $__spellingDataType = ''; 
  20. public $spelling; 
  21. protected $__searchInformationType = 'Google_SearchSearchInformation'; 
  22. protected $__searchInformationDataType = ''; 
  23. public $searchInformation; 
  24. public function setPromotions(/** array(Google_Promotion) */ $promotions) { 
  25. $this->assertIsArray($promotions, 'Google_Promotion', __METHOD__); 
  26. $this->promotions = $promotions; 
  27. public function getPromotions() { 
  28. return $this->promotions; 
  29. public function setKind($kind) { 
  30. $this->kind = $kind; 
  31. public function getKind() { 
  32. return $this->kind; 
  33. public function setUrl(Google_SearchUrl $url) { 
  34. $this->url = $url; 
  35. public function getUrl() { 
  36. return $this->url; 
  37. public function setItems(/** array(Google_Result) */ $items) { 
  38. $this->assertIsArray($items, 'Google_Result', __METHOD__); 
  39. $this->items = $items; 
  40. public function getItems() { 
  41. return $this->items; 
  42. public function setContext(Google_Context $context) { 
  43. $this->context = $context; 
  44. public function getContext() { 
  45. return $this->context; 
  46. public function setQueries(Google_Query $queries) { 
  47. $this->queries = $queries; 
  48. public function getQueries() { 
  49. return $this->queries; 
  50. public function setSpelling(Google_SearchSpelling $spelling) { 
  51. $this->spelling = $spelling; 
  52. public function getSpelling() { 
  53. return $this->spelling; 
  54. public function setSearchInformation(Google_SearchSearchInformation $searchInformation) { 
  55. $this->searchInformation = $searchInformation; 
  56. public function getSearchInformation() { 
  57. return $this->searchInformation;