PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 4.01.02
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v4.01.02
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / deprecated / FrmFieldDeprecated.php

FrmFieldDeprecated.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 4.01.02, at deprecated/FrmFieldDeprecated.php

304 lines 7.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * @since 2.03.05
5 * @deprecated 2.03.05
6 * @codeCoverageIgnore
7 */
8 class FrmFieldDeprecated {
9
10 /**
11 * @deprecated 2.03.05
12 */
13 public static function field_selection() {
14 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::field_selection' );
15
16 return FrmField::field_selection();
17 }
18
19 /**
20 * @deprecated 2.03.05
21 */
22 public static function pro_field_selection() {
23 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::pro_field_selection' );
24
25 return FrmField::pro_field_selection();
26 }
27
28 /**
29 * @deprecated 2.03.05
30 */
31 public static function create( $values, $return = true ) {
32 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::create' );
33
34 return FrmField::create( $values, $return );
35 }
36
37 /**
38 * @deprecated 2.03.05
39 */
40 public static function duplicate( $old_form_id, $form_id, $copy_keys = false, $blog_id = false ) {
41 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::duplicate' );
42 FrmField::duplicate( $old_form_id, $form_id, $copy_keys, $blog_id );
43 }
44
45 /**
46 * @deprecated 2.03.05
47 */
48 public static function update( $id, $values ) {
49 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::update' );
50
51 return FrmField::update( $id, $values );
52 }
53
54 /**
55 * @deprecated 2.03.05
56 */
57 public static function destroy( $id ) {
58 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::destroy' );
59
60 return FrmField::destroy( $id );
61 }
62
63 /**
64 * @deprecated 2.03.05
65 */
66 public static function delete_form_transient( $form_id ) {
67 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::delete_form_transient' );
68
69 return FrmField::delete_form_transient( $form_id );
70 }
71
72 /**
73 * @deprecated 2.03.05
74 */
75 public static function maybe_get_field( &$field ) {
76 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::maybe_get_field' );
77 FrmField::maybe_get_field( $field );
78 }
79
80 /**
81 * @deprecated 2.03.05
82 */
83 public static function getOne( $id ) {
84 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::getOne' );
85
86 return FrmField::getOne( $id );
87 }
88
89 /**
90 * @deprecated 2.03.05
91 */
92 public static function get_type( $id, $col = 'type' ) {
93 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::get_type' );
94
95 return FrmField::get_type( $id, $col );
96 }
97
98 /**
99 * @deprecated 2.03.05
100 */
101 public static function get_all_types_in_form( $form_id, $type, $limit = '', $inc_sub = 'exclude' ) {
102 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::get_all_types_in_form' );
103
104 return FrmField::get_all_types_in_form( $form_id, $type, $limit, $inc_sub );
105 }
106
107 /**
108 * @deprecated 2.03.05
109 */
110 public static function get_all_for_form( $form_id, $limit = '', $inc_embed = 'exclude', $inc_repeat = 'include' ) {
111 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::get_all_for_form' );
112
113 return FrmField::get_all_for_form( $form_id, $limit, $inc_embed, $inc_repeat );
114 }
115
116 /**
117 * @deprecated 2.03.05
118 */
119 public static function include_sub_fields( &$results, $inc_embed, $type = 'all' ) {
120 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::include_sub_fields' );
121 FrmField::include_sub_fields( $results, $inc_embed, $type );
122 }
123
124 /**
125 * @deprecated 2.03.05
126 */
127 public static function getAll( $where = array(), $order_by = '', $limit = '', $blog_id = false ) {
128 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::getAll' );
129
130 return FrmField::getAll( $where, $order_by, $limit, $blog_id );
131 }
132
133 /**
134 * @deprecated 2.03.05
135 */
136 public static function is_no_save_field( $type ) {
137 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_no_save_field' );
138
139 return FrmField::is_no_save_field( $type );
140 }
141
142 /**
143 * @deprecated 2.03.05
144 */
145 public static function no_save_fields() {
146 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::no_save_fields' );
147
148 return FrmField::no_save_fields();
149 }
150
151 /**
152 * @deprecated 2.03.05
153 */
154 public static function is_field_with_multiple_values( $field ) {
155 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_field_with_multiple_values' );
156
157 return FrmField::is_field_with_multiple_values( $field );
158 }
159
160 /**
161 * @deprecated 2.03.05
162 */
163 public static function is_multiple_select( $field ) {
164 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_multiple_select' );
165
166 return FrmField::is_multiple_select( $field );
167 }
168
169 /**
170 * @deprecated 2.03.05
171 */
172 public static function is_read_only( $field ) {
173 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_read_only' );
174
175 return FrmField::is_read_only( $field );
176 }
177
178 /**
179 * @deprecated 2.03.05
180 */
181 public static function is_required( $field ) {
182 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_required' );
183
184 return FrmField::is_required( $field );
185 }
186
187 /**
188 * @deprecated 2.03.05
189 */
190 public static function is_option_true( $field, $option ) {
191 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_option_true' );
192
193 return FrmField::is_option_true( $field, $option );
194 }
195
196 /**
197 * @deprecated 2.03.05
198 */
199 public static function is_option_empty( $field, $option ) {
200 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_option_empty' );
201
202 return FrmField::is_option_empty( $field, $option );
203 }
204
205 /**
206 * @deprecated 2.03.05
207 */
208 public static function is_option_true_in_array( $field, $option ) {
209 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_option_true_in_array' );
210
211 return FrmField::is_option_true_in_array( $field, $option );
212 }
213
214 /**
215 * @deprecated 2.03.05
216 */
217 public static function is_option_true_in_object( $field, $option ) {
218 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_option_true_in_object' );
219
220 return FrmField::is_option_true_in_object( $field, $option );
221 }
222
223 /**
224 * @deprecated 2.03.05
225 */
226 public static function is_option_empty_in_array( $field, $option ) {
227 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_option_empty_in_array' );
228
229 return FrmField::is_option_empty_in_array( $field, $option );
230 }
231
232 /**
233 * @deprecated 2.03.05
234 */
235 public static function is_option_empty_in_object( $field, $option ) {
236 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_option_empty_in_object' );
237
238 return FrmField::is_option_empty_in_object( $field, $option );
239 }
240
241 /**
242 * @deprecated 2.03.05
243 */
244 public static function is_option_value_in_object( $field, $option ) {
245 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_option_value_in_object' );
246
247 return FrmField::is_option_value_in_object( $field, $option );
248 }
249
250 /**
251 * @deprecated 2.03.05
252 */
253 public static function get_option( $field, $option ) {
254 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::get_option' );
255
256 return FrmField::get_option( $field, $option );
257 }
258
259 /**
260 * @deprecated 2.03.05
261 */
262 public static function get_option_in_array( $field, $option ) {
263 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::get_option_in_array' );
264
265 return FrmField::get_option_in_array( $field, $option );
266 }
267
268 /**
269 * @deprecated 2.03.05
270 */
271 public static function get_option_in_object( $field, $option ) {
272 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::get_option_in_object' );
273
274 return FrmField::get_option_in_object( $field, $option );
275 }
276
277 /**
278 * @deprecated 2.03.05
279 */
280 public static function is_repeating_field( $field ) {
281 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::is_repeating_field' );
282
283 return FrmField::is_repeating_field( $field );
284 }
285
286 /**
287 * @deprecated 2.03.05
288 */
289 public static function get_id_by_key( $key ) {
290 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::get_id_by_key' );
291
292 return FrmField::get_id_by_key( $key );
293 }
294
295 /**
296 * @deprecated 2.03.05
297 */
298 public static function get_key_by_id( $id ) {
299 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmField::get_key_by_id' );
300
301 return FrmField::get_key_by_id( $id );
302 }
303 }
304