Google_MenuItem

The Google Books Importer Google MenuItem class.

Defined (1)

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

/src/contrib/Google_MirrorService.php  
  1. class Google_MenuItem extends Google_Model { 
  2. public $action; 
  3. public $id; 
  4. public $payload; 
  5. public $removeWhenSelected; 
  6. protected $__valuesType = 'Google_MenuValue'; 
  7. protected $__valuesDataType = 'array'; 
  8. public $values; 
  9. public function setAction( $action) { 
  10. $this->action = $action; 
  11. public function getAction() { 
  12. return $this->action; 
  13. public function setId( $id) { 
  14. $this->id = $id; 
  15. public function getId() { 
  16. return $this->id; 
  17. public function setPayload( $payload) { 
  18. $this->payload = $payload; 
  19. public function getPayload() { 
  20. return $this->payload; 
  21. public function setRemoveWhenSelected( $removeWhenSelected) { 
  22. $this->removeWhenSelected = $removeWhenSelected; 
  23. public function getRemoveWhenSelected() { 
  24. return $this->removeWhenSelected; 
  25. public function setValues(/** array(Google_MenuValue) */ $values) { 
  26. $this->assertIsArray($values, 'Google_MenuValue', __METHOD__); 
  27. $this->values = $values; 
  28. public function getValues() { 
  29. return $this->values;