| 1 | <?php |
||
| 21 | class ModuleOptions extends AbstractOptions |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Used geo location plugin. Possible values: |
||
| 26 | * - photon |
||
| 27 | * - geo |
||
| 28 | * |
||
| 29 | * @var string $plugin |
||
| 30 | */ |
||
| 31 | protected $plugin = "photon"; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Used geo coder url. Take one of these URLs |
||
| 35 | * - http://photon.yawik.org/api |
||
| 36 | * - http://api.cross-solution.de/geo |
||
| 37 | * |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | protected $geoCoderUrl = "http://photon.yawik.org/api"; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param $plugin |
||
| 44 | * |
||
| 45 | * @return self |
||
| 46 | */ |
||
| 47 | public function setPlugin($plugin) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return mixed |
||
| 56 | */ |
||
| 57 | public function getPlugin() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @param mixed $geoCoderUrl |
||
| 64 | * |
||
| 65 | * @return self |
||
| 66 | */ |
||
| 67 | public function setGeoCoderUrl($geoCoderUrl) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return mixed |
||
| 76 | */ |
||
| 77 | public function getGeoCoderUrl() |
||
| 81 | } |