Google_Result

The WordPress Core Google Result class.

Defined (2)

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

/google-api-php-client/src/contrib/Google_CustomsearchService.php  
  1. class Google_Result extends Google_Model { 
  2. public $cacheId; 
  3. public $displayLink; 
  4. public $fileFormat; 
  5. public $formattedUrl; 
  6. public $htmlFormattedUrl; 
  7. public $htmlSnippet; 
  8. public $htmlTitle; 
  9. protected $__imageType = 'Google_ResultImage'; 
  10. protected $__imageDataType = ''; 
  11. public $image; 
  12. public $kind; 
  13. protected $__labelsType = 'Google_ResultLabels'; 
  14. protected $__labelsDataType = 'array'; 
  15. public $labels; 
  16. public $link; 
  17. public $mime; 
  18. public $pagemap; 
  19. public $snippet; 
  20. public $title; 
  21. public function setCacheId( $cacheId) { 
  22. $this->cacheId = $cacheId; 
  23. public function getCacheId() { 
  24. return $this->cacheId; 
  25. public function setDisplayLink( $displayLink) { 
  26. $this->displayLink = $displayLink; 
  27. public function getDisplayLink() { 
  28. return $this->displayLink; 
  29. public function setFileFormat( $fileFormat) { 
  30. $this->fileFormat = $fileFormat; 
  31. public function getFileFormat() { 
  32. return $this->fileFormat; 
  33. public function setFormattedUrl( $formattedUrl) { 
  34. $this->formattedUrl = $formattedUrl; 
  35. public function getFormattedUrl() { 
  36. return $this->formattedUrl; 
  37. public function setHtmlFormattedUrl( $htmlFormattedUrl) { 
  38. $this->htmlFormattedUrl = $htmlFormattedUrl; 
  39. public function getHtmlFormattedUrl() { 
  40. return $this->htmlFormattedUrl; 
  41. public function setHtmlSnippet( $htmlSnippet) { 
  42. $this->htmlSnippet = $htmlSnippet; 
  43. public function getHtmlSnippet() { 
  44. return $this->htmlSnippet; 
  45. public function setHtmlTitle( $htmlTitle) { 
  46. $this->htmlTitle = $htmlTitle; 
  47. public function getHtmlTitle() { 
  48. return $this->htmlTitle; 
  49. public function setImage(Google_ResultImage $image) { 
  50. $this->image = $image; 
  51. public function getImage() { 
  52. return $this->image; 
  53. public function setKind( $kind) { 
  54. $this->kind = $kind; 
  55. public function getKind() { 
  56. return $this->kind; 
  57. public function setLabels(/** array(Google_ResultLabels) */ $labels) { 
  58. $this->assertIsArray($labels, 'Google_ResultLabels', __METHOD__); 
  59. $this->labels = $labels; 
  60. public function getLabels() { 
  61. return $this->labels; 
  62. public function setLink( $link) { 
  63. $this->link = $link; 
  64. public function getLink() { 
  65. return $this->link; 
  66. public function setMime( $mime) { 
  67. $this->mime = $mime; 
  68. public function getMime() { 
  69. return $this->mime; 
  70. public function setPagemap( $pagemap) { 
  71. $this->pagemap = $pagemap; 
  72. public function getPagemap() { 
  73. return $this->pagemap; 
  74. public function setSnippet( $snippet) { 
  75. $this->snippet = $snippet; 
  76. public function getSnippet() { 
  77. return $this->snippet; 
  78. public function setTitle( $title) { 
  79. $this->title = $title; 
  80. public function getTitle() { 
  81. return $this->title; 
/google-api-php-client/src/contrib/Google_PagespeedonlineService.php  
  1. class Google_Result extends Google_Model { 
  2. protected $__formattedResultsType = 'Google_ResultFormattedResults'; 
  3. protected $__formattedResultsDataType = ''; 
  4. public $formattedResults; 
  5. public $id; 
  6. public $invalidRules; 
  7. public $kind; 
  8. protected $__pageStatsType = 'Google_ResultPageStats'; 
  9. protected $__pageStatsDataType = ''; 
  10. public $pageStats; 
  11. public $responseCode; 
  12. public $score; 
  13. protected $__screenshotType = 'Google_ResultScreenshot'; 
  14. protected $__screenshotDataType = ''; 
  15. public $screenshot; 
  16. public $title; 
  17. protected $__versionType = 'Google_ResultVersion'; 
  18. protected $__versionDataType = ''; 
  19. public $version; 
  20. public function setFormattedResults(Google_ResultFormattedResults $formattedResults) { 
  21. $this->formattedResults = $formattedResults; 
  22. public function getFormattedResults() { 
  23. return $this->formattedResults; 
  24. public function setId( $id) { 
  25. $this->id = $id; 
  26. public function getId() { 
  27. return $this->id; 
  28. public function setInvalidRules(/** array(Google_string) */ $invalidRules) { 
  29. $this->assertIsArray($invalidRules, 'Google_string', __METHOD__); 
  30. $this->invalidRules = $invalidRules; 
  31. public function getInvalidRules() { 
  32. return $this->invalidRules; 
  33. public function setKind( $kind) { 
  34. $this->kind = $kind; 
  35. public function getKind() { 
  36. return $this->kind; 
  37. public function setPageStats(Google_ResultPageStats $pageStats) { 
  38. $this->pageStats = $pageStats; 
  39. public function getPageStats() { 
  40. return $this->pageStats; 
  41. public function setResponseCode( $responseCode) { 
  42. $this->responseCode = $responseCode; 
  43. public function getResponseCode() { 
  44. return $this->responseCode; 
  45. public function setScore( $score) { 
  46. $this->score = $score; 
  47. public function getScore() { 
  48. return $this->score; 
  49. public function setScreenshot(Google_ResultScreenshot $screenshot) { 
  50. $this->screenshot = $screenshot; 
  51. public function getScreenshot() { 
  52. return $this->screenshot; 
  53. public function setTitle( $title) { 
  54. $this->title = $title; 
  55. public function getTitle() { 
  56. return $this->title; 
  57. public function setVersion(Google_ResultVersion $version) { 
  58. $this->version = $version; 
  59. public function getVersion() { 
  60. return $this->version;