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 / FrmFormDeprecated.php

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

279 lines 6.5 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 FrmFormDeprecated {
9
10 /**
11 * @deprecated 2.03.05
12 */
13 public static function create( $values ) {
14 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::create' );
15
16 return FrmForm::create( $values );
17 }
18
19 /**
20 * @deprecated 2.03.05
21 */
22 public static function duplicate( $id, $template = false, $copy_keys = false, $blog_id = false ) {
23 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::duplicate' );
24
25 return FrmForm::duplicate( $id, $template, $copy_keys, $blog_id );
26 }
27
28 /**
29 * @deprecated 2.03.05
30 */
31 public static function after_duplicate( $form_id, $values ) {
32 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::after_duplicate' );
33
34 return FrmForm::after_duplicate( $form_id, $values );
35 }
36
37 /**
38 * @deprecated 2.03.05
39 */
40 public static function update( $id, $values, $create_link = false ) {
41 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::update' );
42
43 return FrmForm::update( $id, $values, $create_link );
44 }
45
46 /**
47 * @deprecated 2.03.05
48 */
49 public static function set_update_options( $new_values, $values ) {
50 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::set_update_options' );
51
52 return FrmForm::set_update_options( $new_values, $values );
53 }
54
55
56 /**
57 * @deprecated 2.03.05
58 */
59 public static function update_fields( $id, $values ) {
60 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::update_fields' );
61
62 return FrmForm::update_fields( $id, $values );
63 }
64
65 /**
66 * @deprecated 2.03.05
67 */
68 public static function set_status( $id, $status ) {
69 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::set_status' );
70
71 return FrmForm::set_status( $id, $status );
72 }
73
74 /**
75 * @deprecated 2.03.05
76 */
77 public static function trash( $id ) {
78 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::trash' );
79
80 return FrmForm::trash( $id );
81 }
82
83 /**
84 * @deprecated 2.03.05
85 */
86 public static function destroy( $id ) {
87 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::destroy' );
88
89 return FrmForm::destroy( $id );
90 }
91
92 /**
93 * @deprecated 2.03.05
94 */
95 public static function scheduled_delete( $delete_timestamp = '' ) {
96 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::scheduled_delete' );
97
98 return FrmForm::scheduled_delete( $delete_timestamp );
99 }
100
101 /**
102 * @deprecated 2.03.05
103 */
104 public static function getName( $id ) {
105 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::getName' );
106
107 return FrmForm::getName( $id );
108 }
109
110 /**
111 * @deprecated 2.03.05
112 */
113 public static function getIdByKey( $key ) {
114 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_id_by_key' );
115
116 return FrmForm::get_id_by_key( $key );
117 }
118
119 /**
120 * @deprecated 2.03.05
121 */
122 public static function getKeyById( $id ) {
123 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_key_by_id' );
124
125 return FrmForm::get_key_by_id( $id );
126 }
127
128 /**
129 * @deprecated 2.03.05
130 */
131 public static function maybe_get_form( &$form ) {
132 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::maybe_get_form' );
133 FrmForm::maybe_get_form( $form );
134 }
135
136 /**
137 * @deprecated 2.03.05
138 */
139 public static function getOne( $id, $blog_id = false ) {
140 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::getOne' );
141
142 return FrmForm::getOne( $id, $blog_id );
143 }
144
145 /**
146 * @deprecated 2.03.05
147 */
148 public static function getAll( $where = array(), $order_by = '', $limit = '' ) {
149 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::getAll' );
150
151 return FrmForm::getAll( $where, $order_by, $limit );
152 }
153
154 /**
155 * @deprecated 2.03.05
156 */
157 public static function get_published_forms( $query = array(), $limit = 999, $inc_children = 'exclude' ) {
158 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_published_forms' );
159
160 return FrmForm::get_published_forms( $query, $limit, $inc_children );
161 }
162
163 /**
164 * @deprecated 2.03.05
165 */
166 public static function get_count() {
167 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_count' );
168
169 return FrmForm::get_count();
170 }
171
172 /**
173 * @deprecated 2.03.05
174 */
175 public static function clear_form_cache() {
176 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::clear_form_cache' );
177 FrmForm::clear_form_cache();
178 }
179
180 /**
181 * @deprecated 2.03.05
182 */
183 public static function validate( $values ) {
184 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::validate' );
185
186 return FrmForm::validate( $values );
187 }
188
189 /**
190 * @deprecated 2.03.05
191 */
192 public static function get_params( $form = null ) {
193 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_params' );
194
195 return FrmForm::get_params( $form );
196 }
197
198 /**
199 * @deprecated 2.03.05
200 */
201 public static function list_page_params() {
202 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::list_page_params' );
203
204 return FrmForm::list_page_params();
205 }
206
207 /**
208 * @deprecated 2.03.05
209 */
210 public static function get_admin_params( $form = null ) {
211 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_admin_params' );
212
213 return FrmForm::get_admin_params( $form );
214 }
215
216 /**
217 * @deprecated 2.03.05
218 */
219 public static function get_current_form_id( $default_form = 'none' ) {
220 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_current_form_id' );
221
222 return FrmForm::get_current_form_id( $default_form );
223 }
224
225 /**
226 * @deprecated 2.03.05
227 */
228 public static function maybe_get_current_form( $form_id = 0 ) {
229 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::maybe_get_current_form' );
230
231 return FrmForm::maybe_get_current_form( $form_id );
232 }
233
234 /**
235 * @deprecated 2.03.05
236 */
237 public static function get_current_form( $form_id = 0 ) {
238 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_current_form' );
239
240 return FrmForm::get_current_form( $form_id );
241 }
242
243 /**
244 * @deprecated 2.03.05
245 */
246 public static function set_current_form( $form_id ) {
247 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::set_current_form' );
248
249 return FrmForm::set_current_form( $form_id );
250 }
251
252 /**
253 * @deprecated 2.03.05
254 */
255 public static function is_form_loaded( $form, $this_load, $global_load ) {
256 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::is_form_loaded' );
257
258 return FrmForm::is_form_loaded( $form, $this_load, $global_load );
259 }
260
261 /**
262 * @deprecated 2.03.05
263 */
264 public static function show_submit( $form ) {
265 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::show_submit' );
266
267 return FrmForm::show_submit( $form );
268 }
269
270 /**
271 * @deprecated 2.03.05
272 */
273 public static function get_option( $atts ) {
274 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmForm::get_option' );
275
276 return FrmForm::get_option( $atts );
277 }
278 }
279