PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 2.05.09
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v2.05.09
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 / classes / models / FrmFormDeprecated.php

FrmFormDeprecated.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 2.05.09, at classes/models/FrmFormDeprecated.php

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