1 | <?php if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) { |
||
16 | class EES_Espresso_Thank_You extends EES_Shortcode { |
||
|
|||
17 | |||
18 | /** |
||
19 | * time in seconds to wait for the IPN to arrive before telling the registrant to bugger off ( 1200s = 20 minutes ) |
||
20 | */ |
||
21 | const IPN_wait_time = 1200; |
||
22 | |||
23 | |||
24 | |||
25 | |||
26 | /** |
||
27 | * @deprecated 4.9.27 |
||
28 | * @return void |
||
29 | */ |
||
30 | public static function set_hooks() { |
||
32 | |||
33 | |||
34 | |||
35 | /** |
||
36 | * @deprecated 4.9.27 |
||
37 | * @return void |
||
38 | */ |
||
39 | public static function set_hooks_admin() { |
||
41 | |||
42 | |||
43 | |||
44 | /** |
||
45 | * @deprecated 4.9.27 |
||
46 | * @return void |
||
47 | */ |
||
48 | public static function set_definitions() { |
||
58 | |||
59 | |||
60 | |||
61 | /** |
||
62 | * @deprecated 4.9.27 |
||
63 | * @return EE_Transaction |
||
64 | */ |
||
65 | public function get_txn() { |
||
75 | |||
76 | |||
77 | |||
78 | /** |
||
79 | * @deprecated 4.9.27 |
||
80 | * @param int $since |
||
81 | * @return mixed array of EE_Payment || FALSE |
||
82 | */ |
||
83 | public function get_txn_payments( $since = 0 ) { |
||
93 | |||
94 | |||
95 | |||
96 | /** |
||
97 | * @deprecated 4.9.27 |
||
98 | * @param string $reg_url_link |
||
99 | * @return void |
||
100 | */ |
||
101 | public function set_reg_url_link( $reg_url_link = null ) { |
||
111 | |||
112 | |||
113 | |||
114 | /** |
||
115 | * @deprecated 4.9.27 |
||
116 | * @param WP $WP |
||
117 | * @return void |
||
118 | */ |
||
119 | public function run( WP $WP ) { |
||
121 | |||
122 | |||
123 | |||
124 | /** |
||
125 | * @deprecated 4.9.27 |
||
126 | * @return void |
||
127 | */ |
||
128 | protected function _translate_strings() { |
||
138 | |||
139 | |||
140 | |||
141 | /** |
||
142 | * @deprecated 4.9.27 |
||
143 | * @return void |
||
144 | */ |
||
145 | public function load_js() { |
||
155 | |||
156 | |||
157 | |||
158 | /** |
||
159 | * @deprecated 4.9.27 |
||
160 | * @return void |
||
161 | * @throws \EE_Error |
||
162 | */ |
||
163 | public function init() { |
||
173 | |||
174 | |||
175 | |||
176 | /** |
||
177 | * @deprecated 4.9.27 |
||
178 | * @param array $attributes |
||
179 | * @return string |
||
180 | * @throws \EE_Error |
||
181 | */ |
||
182 | public function process_shortcode( $attributes = array() ) { |
||
193 | |||
194 | |||
195 | |||
196 | /** |
||
197 | * @deprecated 4.9.27 |
||
198 | * @param array $response |
||
199 | * @param array $data |
||
200 | * @return array |
||
201 | * @throws \EE_Error |
||
202 | */ |
||
203 | public static function thank_you_page_IPN_monitor( $response = array(), $data = array() ) { |
||
213 | |||
214 | |||
215 | |||
216 | |||
217 | /** |
||
218 | * @deprecated 4.9.27 |
||
219 | * @return string |
||
220 | * @throws \EE_Error |
||
221 | */ |
||
222 | public function get_registration_details() { |
||
232 | |||
233 | |||
234 | |||
235 | /** |
||
236 | * resend_reg_confirmation_email |
||
237 | * |
||
238 | * @deprecated 4.9.27 |
||
239 | */ |
||
240 | public static function resend_reg_confirmation_email() { |
||
250 | |||
251 | |||
252 | |||
253 | /** |
||
254 | * get_ajax_content |
||
255 | * |
||
256 | * @deprecated 4.9.27 |
||
257 | * @return void |
||
258 | */ |
||
259 | public function get_ajax_content() { |
||
269 | |||
270 | |||
271 | |||
272 | /** |
||
273 | * display_details_for_events |
||
274 | * |
||
275 | * @deprecated 4.9.27 |
||
276 | * @param EE_Event[] $events |
||
277 | * @return void |
||
278 | */ |
||
279 | public function display_details_for_events( $events = array() ) { |
||
289 | |||
290 | |||
291 | |||
292 | /** |
||
293 | * display_details_for_events_requiring_pre_approval |
||
294 | * |
||
295 | * @deprecated 4.9.27 |
||
296 | * @param EE_Event[] $events |
||
297 | * @return void |
||
298 | */ |
||
299 | public function display_details_for_events_requiring_pre_approval( $events = array() ) { |
||
309 | |||
310 | |||
311 | |||
312 | /** |
||
313 | * get_transaction_details |
||
314 | * |
||
315 | * @deprecated 4.9.27 |
||
316 | * @return string |
||
317 | * @throws \EE_Error |
||
318 | */ |
||
319 | public function get_transaction_details() { |
||
329 | |||
330 | |||
331 | |||
332 | /** |
||
333 | * get_payment_row_html |
||
334 | * |
||
335 | * @deprecated 4.9.27 |
||
336 | * @param EE_Payment $payment |
||
337 | * @return string |
||
338 | * @throws \EE_Error |
||
339 | */ |
||
340 | public function get_payment_row_html( $payment = null ) { |
||
350 | |||
351 | |||
352 | |||
353 | /** |
||
354 | * get_payment_details |
||
355 | * |
||
356 | * @deprecated 4.9.27 |
||
357 | * @param array $payments |
||
358 | * @return string |
||
359 | * @throws \EE_Error |
||
360 | */ |
||
361 | public function get_payment_details( $payments = array() ) { |
||
371 | |||
372 | |||
373 | |||
374 | /** |
||
375 | * get_payment_details |
||
376 | * |
||
377 | * @deprecated 4.9.27 |
||
378 | * @param array $payments |
||
379 | * @return string |
||
380 | * @throws \EE_Error |
||
381 | */ |
||
382 | public function get_new_payments( $payments = array() ) { |
||
392 | |||
393 | |||
394 | |||
395 | } |
||
396 | // End of file EES_Espresso_Thank_You.shortcode.php |
||
398 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.