Google_PollingLocation

The Google Books Importer Google PollingLocation class.

Defined (1)

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

/src/contrib/Google_CivicInfoService.php  
  1. class Google_PollingLocation extends Google_Model { 
  2. protected $__addressType = 'Google_SimpleAddressType'; 
  3. protected $__addressDataType = ''; 
  4. public $address; 
  5. public $endDate; 
  6. public $id; 
  7. public $name; 
  8. public $notes; 
  9. public $pollingHours; 
  10. protected $__sourcesType = 'Google_Source'; 
  11. protected $__sourcesDataType = 'array'; 
  12. public $sources; 
  13. public $startDate; 
  14. public $voterServices; 
  15. public function setAddress(Google_SimpleAddressType $address) { 
  16. $this->address = $address; 
  17. public function getAddress() { 
  18. return $this->address; 
  19. public function setEndDate( $endDate) { 
  20. $this->endDate = $endDate; 
  21. public function getEndDate() { 
  22. return $this->endDate; 
  23. public function setId( $id) { 
  24. $this->id = $id; 
  25. public function getId() { 
  26. return $this->id; 
  27. public function setName( $name) { 
  28. $this->name = $name; 
  29. public function getName() { 
  30. return $this->name; 
  31. public function setNotes( $notes) { 
  32. $this->notes = $notes; 
  33. public function getNotes() { 
  34. return $this->notes; 
  35. public function setPollingHours( $pollingHours) { 
  36. $this->pollingHours = $pollingHours; 
  37. public function getPollingHours() { 
  38. return $this->pollingHours; 
  39. public function setSources(/** array(Google_Source) */ $sources) { 
  40. $this->assertIsArray($sources, 'Google_Source', __METHOD__); 
  41. $this->sources = $sources; 
  42. public function getSources() { 
  43. return $this->sources; 
  44. public function setStartDate( $startDate) { 
  45. $this->startDate = $startDate; 
  46. public function getStartDate() { 
  47. return $this->startDate; 
  48. public function setVoterServices( $voterServices) { 
  49. $this->voterServices = $voterServices; 
  50. public function getVoterServices() { 
  51. return $this->voterServices;