1 | <?php |
||
9 | class Marker_Model extends \WPLib_Model_Base { |
||
10 | |||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $_address; |
||
15 | |||
16 | /** |
||
17 | * @var Geocoder |
||
18 | */ |
||
19 | protected $_geocoder; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $_label; |
||
25 | |||
26 | /** |
||
27 | * @var Location |
||
28 | */ |
||
29 | protected $_location; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $_title; |
||
35 | |||
36 | /** |
||
37 | * Marker_Model constructor. |
||
38 | * @param array $args |
||
39 | */ |
||
40 | function __construct( $args = array() ) { |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | function label() { |
||
58 | |||
59 | /** |
||
60 | * @return float |
||
61 | */ |
||
62 | function latitude() { |
||
65 | |||
66 | /** |
||
67 | * @return Location |
||
68 | */ |
||
69 | function location() { |
||
75 | |||
76 | /** |
||
77 | * @return float |
||
78 | */ |
||
79 | function longitude() { |
||
82 | |||
83 | /** |
||
84 | * @return string |
||
85 | */ |
||
86 | function title() { |
||
89 | |||
90 | /** |
||
91 | * @return Geocoder |
||
92 | */ |
||
93 | private function _geocoder() { |
||
100 | } |
||
101 |