@@ 85-97 (lines=13) @@ | ||
82 | * @access public |
|
83 | * @return void |
|
84 | */ |
|
85 | public function get_homes_for_sale_widget() { |
|
86 | ||
87 | $widget_data = array( |
|
88 | 'type' => 'homeSearch', |
|
89 | 'container' => 'homeSearchWidget', |
|
90 | ); |
|
91 | static::$hf_data[] = $widget_data; |
|
92 | ||
93 | $index = count( static::$hf_data ) - 1; |
|
94 | ||
95 | echo '<div id="homeSearchWidget-'. $index .'" class="'. $this->homefinder_class( 'homes-for-sale' ) .'"></div>'; |
|
96 | ||
97 | } |
|
98 | ||
99 | /** |
|
100 | * Get Open House Widget. |
|
@@ 105-117 (lines=13) @@ | ||
102 | * @access public |
|
103 | * @return void |
|
104 | */ |
|
105 | public function get_open_house_widget() { |
|
106 | ||
107 | $widget_data = array( |
|
108 | 'type' => 'openHouseSearch', |
|
109 | 'container' => 'openHouseSearchWidget', |
|
110 | ); |
|
111 | static::$hf_data[] = $widget_data; |
|
112 | ||
113 | $index = count( static::$hf_data ) - 1; |
|
114 | ||
115 | echo '<div id="openHouseSearchWidget-'. $index .'" class="'. $this->homefinder_class( 'open-house' ) .'"></div>'; |
|
116 | ||
117 | } |
|
118 | ||
119 | /** |
|
120 | * Get Foreclosure Homes Widget. |
|
@@ 125-137 (lines=13) @@ | ||
122 | * @access public |
|
123 | * @return void |
|
124 | */ |
|
125 | public function get_foreclosure_homes_widget() { |
|
126 | ||
127 | $widget_data = array( |
|
128 | 'type' => 'foreclosureSearch', |
|
129 | 'container' => 'foreclosureSearchWidget', |
|
130 | ); |
|
131 | static::$hf_data[] = $widget_data; |
|
132 | ||
133 | $index = count( static::$hf_data ) - 1; |
|
134 | ||
135 | echo '<div id="foreclosureSearchWidget-'. $index .'" class="'. $this->homefinder_class( 'foreclosure-homes' ) .'"></div>'; |
|
136 | ||
137 | } |
|
138 | ||
139 | /** |
|
140 | * Get HomeFinder Widget. |