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

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

138 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class FrmDbDeprecated
5 *
6 * @since 2.03.05
7 * @deprecated 2.03.05
8 * @codeCoverageIgnore
9 */
10 class FrmDbDeprecated {
11
12 var $fields;
13 var $forms;
14 var $entries;
15 var $entry_metas;
16
17 public function __construct() {
18 if ( ! defined( 'ABSPATH' ) ) {
19 die( 'You are not allowed to call this page directly.' );
20 }
21
22 global $wpdb;
23 $this->fields = $wpdb->prefix . 'frm_fields';
24 $this->forms = $wpdb->prefix . 'frm_forms';
25 $this->entries = $wpdb->prefix . 'frm_items';
26 $this->entry_metas = $wpdb->prefix . 'frm_item_metas';
27 }
28
29 /**
30 * @deprecated 2.03.05
31 */
32 public function upgrade() {
33 _deprecated_function( __FUNCTION__, '2.05.06', 'FrmMigrate::upgrade' );
34
35 $db = new FrmMigrate();
36 $db->upgrade();
37 }
38
39 /**
40 * @deprecated 2.03.05
41 */
42 public function collation() {
43 _deprecated_function( __FUNCTION__, '2.05.06', 'FrmMigrate::collation' );
44
45 $db = new FrmMigrate();
46 return $db->collation();
47 }
48
49 /**
50 * @deprecated 2.03.05
51 */
52 public function uninstall() {
53 _deprecated_function( __FUNCTION__, '2.05.06', 'FrmMigrate::uninstall' );
54
55 $db = new FrmMigrate();
56 $db->uninstall();
57 }
58
59 /**
60 * @deprecated 2.03.05
61 */
62 public static function get_where_clause_and_values( &$args, $starts_with = ' WHERE ' ) {
63 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_where_clause_and_values( $args, $starts_with )' );
64 FrmDb::get_where_clause_and_values( $args, $starts_with );
65 }
66
67 /**
68 * @deprecated 2.03.05
69 */
70 public static function parse_where_from_array( $args, $base_where, &$where, &$values ) {
71 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::parse_where_from_array( $args, $base_where, $where, $values )' );
72 FrmDb::parse_where_from_array( $args, $base_where, $where, $values );
73 }
74
75 /**
76 * @deprecated 2.03.05
77 */
78 public static function get_count( $table, $where = array(), $args = array() ) {
79 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_count' );
80
81 return FrmDb::get_count( $table, $where, $args );
82 }
83
84 /**
85 * @deprecated 2.03.05
86 */
87 public static function get_var( $table, $where = array(), $field = 'id', $args = array(), $limit = '', $type = 'var' ) {
88 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_var' );
89
90 return FrmDb::get_var( $table, $where, $field, $args, $limit, $type );
91 }
92
93 /**
94 * @deprecated 2.03.05
95 */
96 public static function get_col( $table, $where = array(), $field = 'id', $args = array(), $limit = '' ) {
97 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_col' );
98
99 return FrmDb::get_col( $table, $where, $field, $args, $limit );
100 }
101
102 /**
103 * @deprecated 2.03.05
104 */
105 public static function get_row( $table, $where = array(), $fields = '*', $args = array() ) {
106 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_row' );
107
108 return FrmDb::get_row( $table, $where, $fields, $args );
109 }
110
111 /**
112 * @deprecated 2.03.05
113 */
114 public static function get_results( $table, $where = array(), $fields = '*', $args = array() ) {
115 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_results' );
116
117 return FrmDb::get_results( $table, $where, $fields, $args );
118 }
119
120 /**
121 * @deprecated 2.03.05
122 */
123 public static function append_where_is( $where_is ) {
124 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::append_where_is' );
125
126 return FrmDb::append_where_is( $where_is );
127 }
128
129 /**
130 * @deprecated 2.03.05
131 */
132 public static function get_associative_array_results( $columns, $table, $where ) {
133 _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_associative_array_results' );
134
135 return FrmDb::get_associative_array_results( $columns, $table, $where );
136 }
137 }
138