1 | <?php |
||
21 | class EED_Recaptcha_Invisible extends EED_Module |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * @var EE_Registration_Config $config |
||
26 | */ |
||
27 | private static $config; |
||
28 | |||
29 | |||
30 | /** |
||
31 | * @return EED_Module|EED_Recaptcha |
||
32 | */ |
||
33 | public static function instance() |
||
37 | |||
38 | |||
39 | /** |
||
40 | * @return void |
||
41 | * @throws InvalidInterfaceException |
||
42 | * @throws InvalidDataTypeException |
||
43 | * @throws InvalidArgumentException |
||
44 | */ |
||
45 | public static function set_hooks() |
||
76 | |||
77 | |||
78 | /** |
||
79 | * @return void |
||
80 | * @throws InvalidInterfaceException |
||
81 | * @throws InvalidDataTypeException |
||
82 | * @throws InvalidArgumentException |
||
83 | */ |
||
84 | public static function set_hooks_admin() |
||
110 | |||
111 | |||
112 | /** |
||
113 | * @return void |
||
114 | * @throws InvalidInterfaceException |
||
115 | * @throws InvalidDataTypeException |
||
116 | * @throws InvalidArgumentException |
||
117 | */ |
||
118 | public static function setProperties() |
||
123 | |||
124 | |||
125 | |||
126 | /** |
||
127 | * @return boolean |
||
128 | */ |
||
129 | public static function useInvisibleRecaptcha() |
||
134 | |||
135 | |||
136 | /** |
||
137 | * @param string $form |
||
138 | * @return boolean |
||
139 | */ |
||
140 | public static function protectForm($form) |
||
145 | |||
146 | |||
147 | |||
148 | |||
149 | /** |
||
150 | * @return void |
||
151 | * @throws InvalidInterfaceException |
||
152 | * @throws InvalidDataTypeException |
||
153 | * @throws InvalidArgumentException |
||
154 | */ |
||
155 | public static function localizeScriptVars() |
||
163 | |||
164 | |||
165 | /** |
||
166 | * @return string |
||
167 | */ |
||
168 | public static function assetsUrl() |
||
172 | |||
173 | |||
174 | /** |
||
175 | * @param \WP $WP |
||
176 | */ |
||
177 | public function run($WP) |
||
180 | |||
181 | |||
182 | |||
183 | /** |
||
184 | * @param EE_Request $request |
||
185 | * @return bool |
||
186 | * @throws InvalidArgumentException |
||
187 | * @throws InvalidDataTypeException |
||
188 | * @throws InvalidInterfaceException |
||
189 | * @throws RuntimeException |
||
190 | */ |
||
191 | public static function verifyToken(EE_Request $request) |
||
195 | |||
196 | |||
197 | /** |
||
198 | * @param EE_Form_Section_Proper $reg_form |
||
199 | * @return void |
||
200 | * @throws EE_Error |
||
201 | * @throws InvalidArgumentException |
||
202 | * @throws InvalidDataTypeException |
||
203 | * @throws InvalidInterfaceException |
||
204 | * @throws DomainException |
||
205 | */ |
||
206 | public static function spcoRegStepForm(EE_Form_Section_Proper $reg_form) |
||
218 | |||
219 | |||
220 | /** |
||
221 | * @param EE_Form_Section_Proper $reg_form |
||
222 | * @return bool |
||
223 | * @throws InvalidDataTypeException |
||
224 | * @throws InvalidInterfaceException |
||
225 | * @throws EE_Error |
||
226 | * @throws InvalidArgumentException |
||
227 | */ |
||
228 | public static function processSpcoRegStepForm(EE_Form_Section_Proper $reg_form) |
||
233 | |||
234 | |||
235 | /** |
||
236 | * @param array|null $req_data |
||
237 | * @param EE_Form_Section_Proper $reg_form |
||
238 | * @return array |
||
239 | * @throws EE_Error |
||
240 | * @throws InvalidArgumentException |
||
241 | * @throws InvalidDataTypeException |
||
242 | * @throws InvalidInterfaceException |
||
243 | * @throws RuntimeException |
||
244 | */ |
||
245 | public static function receiveSpcoRegStepForm($req_data = array(), EE_Form_Section_Proper $reg_form) |
||
264 | |||
265 | |||
266 | /** |
||
267 | * @param string $html |
||
268 | * @param EE_Event $event |
||
269 | * @param bool $iframe |
||
270 | * @return string |
||
271 | * @throws EE_Error |
||
272 | * @throws InvalidArgumentException |
||
273 | * @throws InvalidDataTypeException |
||
274 | * @throws InvalidInterfaceException |
||
275 | * @throws ReflectionException |
||
276 | * @throws DomainException |
||
277 | */ |
||
278 | public static function ticketSelectorForm($html = '', EE_Event $event, $iframe = false) |
||
294 | |||
295 | |||
296 | /** |
||
297 | * @return void |
||
298 | * @throws InvalidArgumentException |
||
299 | * @throws InvalidInterfaceException |
||
300 | * @throws InvalidDataTypeException |
||
301 | * @throws RuntimeException |
||
302 | */ |
||
303 | public static function processTicketSelectorForm() |
||
319 | |||
320 | |||
321 | /** |
||
322 | * @throws EE_Error |
||
323 | * @throws InvalidArgumentException |
||
324 | * @throws InvalidDataTypeException |
||
325 | * @throws InvalidInterfaceException |
||
326 | */ |
||
327 | public static function adminSettings() |
||
331 | |||
332 | |||
333 | /** |
||
334 | * @param EE_Registration_Config $EE_Registration_Config |
||
335 | * @return EE_Registration_Config |
||
336 | * @throws EE_Error |
||
337 | * @throws InvalidArgumentException |
||
338 | * @throws InvalidDataTypeException |
||
339 | * @throws InvalidInterfaceException |
||
340 | * @throws ReflectionException |
||
341 | */ |
||
342 | public static function updateAdminSettings(EE_Registration_Config $EE_Registration_Config) |
||
346 | } |
||
347 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.