Google_Promotion

The Google Books Importer Google Promotion class.

Defined (1)

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

/src/contrib/Google_CustomsearchService.php  
  1. class Google_Promotion extends Google_Model { 
  2. protected $__bodyLinesType = 'Google_PromotionBodyLines'; 
  3. protected $__bodyLinesDataType = 'array'; 
  4. public $bodyLines; 
  5. public $displayLink; 
  6. public $htmlTitle; 
  7. protected $__imageType = 'Google_PromotionImage'; 
  8. protected $__imageDataType = ''; 
  9. public $image; 
  10. public $link; 
  11. public $title; 
  12. public function setBodyLines(/** array(Google_PromotionBodyLines) */ $bodyLines) { 
  13. $this->assertIsArray($bodyLines, 'Google_PromotionBodyLines', __METHOD__); 
  14. $this->bodyLines = $bodyLines; 
  15. public function getBodyLines() { 
  16. return $this->bodyLines; 
  17. public function setDisplayLink( $displayLink) { 
  18. $this->displayLink = $displayLink; 
  19. public function getDisplayLink() { 
  20. return $this->displayLink; 
  21. public function setHtmlTitle( $htmlTitle) { 
  22. $this->htmlTitle = $htmlTitle; 
  23. public function getHtmlTitle() { 
  24. return $this->htmlTitle; 
  25. public function setImage(Google_PromotionImage $image) { 
  26. $this->image = $image; 
  27. public function getImage() { 
  28. return $this->image; 
  29. public function setLink( $link) { 
  30. $this->link = $link; 
  31. public function getLink() { 
  32. return $this->link; 
  33. public function setTitle( $title) { 
  34. $this->title = $title; 
  35. public function getTitle() { 
  36. return $this->title;