| @@ -27,5 +27,114 @@ | ||
| 27 | 27 | $this->forms = $wpdb->prefix . 'frm_forms'; |
| 28 | 28 | $this->entries = $wpdb->prefix . 'frm_items'; |
| 29 | 29 | $this->entry_metas = $wpdb->prefix . 'frm_item_metas'; |
| 30 | 30 | } |
| 31 | + | |
| 32 | + /** | |
| 33 | + * @deprecated 2.03.05 | |
| 34 | + */ | |
| 35 | + public function upgrade() { | |
| 36 | + _deprecated_function( __FUNCTION__, '2.05.06', 'FrmMigrate::upgrade' ); | |
| 37 | + | |
| 38 | + $db = new FrmMigrate(); | |
| 39 | + $db->upgrade(); | |
| 40 | + } | |
| 41 | + | |
| 42 | + /** | |
| 43 | + * @deprecated 2.03.05 | |
| 44 | + */ | |
| 45 | + public function collation() { | |
| 46 | + _deprecated_function( __FUNCTION__, '2.05.06', 'FrmMigrate::collation' ); | |
| 47 | + | |
| 48 | + $db = new FrmMigrate(); | |
| 49 | + return $db->collation(); | |
| 50 | + } | |
| 51 | + | |
| 52 | + /** | |
| 53 | + * @deprecated 2.03.05 | |
| 54 | + */ | |
| 55 | + public function uninstall() { | |
| 56 | + _deprecated_function( __FUNCTION__, '2.05.06', 'FrmMigrate::uninstall' ); | |
| 57 | + | |
| 58 | + $db = new FrmMigrate(); | |
| 59 | + $db->uninstall(); | |
| 60 | + } | |
| 61 | + | |
| 62 | + /** | |
| 63 | + * @deprecated 2.03.05 | |
| 64 | + */ | |
| 65 | + public static function get_where_clause_and_values( &$args, $starts_with = ' WHERE ' ) { | |
| 66 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_where_clause_and_values( $args, $starts_with )' ); | |
| 67 | + FrmDb::get_where_clause_and_values( $args, $starts_with ); | |
| 68 | + } | |
| 69 | + | |
| 70 | + /** | |
| 71 | + * @deprecated 2.03.05 | |
| 72 | + */ | |
| 73 | + public static function parse_where_from_array( $args, $base_where, &$where, &$values ) { | |
| 74 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::parse_where_from_array( $args, $base_where, $where, $values )' ); | |
| 75 | + FrmDb::parse_where_from_array( $args, $base_where, $where, $values ); | |
| 76 | + } | |
| 77 | + | |
| 78 | + /** | |
| 79 | + * @deprecated 2.03.05 | |
| 80 | + */ | |
| 81 | + public static function get_count( $table, $where = array(), $args = array() ) { | |
| 82 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_count' ); | |
| 83 | + | |
| 84 | + return FrmDb::get_count( $table, $where, $args ); | |
| 85 | + } | |
| 86 | + | |
| 87 | + /** | |
| 88 | + * @deprecated 2.03.05 | |
| 89 | + */ | |
| 90 | + public static function get_var( $table, $where = array(), $field = 'id', $args = array(), $limit = '', $type = 'var' ) { | |
| 91 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_var' ); | |
| 92 | + | |
| 93 | + return FrmDb::get_var( $table, $where, $field, $args, $limit, $type ); | |
| 94 | + } | |
| 95 | + | |
| 96 | + /** | |
| 97 | + * @deprecated 2.03.05 | |
| 98 | + */ | |
| 99 | + public static function get_col( $table, $where = array(), $field = 'id', $args = array(), $limit = '' ) { | |
| 100 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_col' ); | |
| 101 | + | |
| 102 | + return FrmDb::get_col( $table, $where, $field, $args, $limit ); | |
| 103 | + } | |
| 104 | + | |
| 105 | + /** | |
| 106 | + * @deprecated 2.03.05 | |
| 107 | + */ | |
| 108 | + public static function get_row( $table, $where = array(), $fields = '*', $args = array() ) { | |
| 109 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_row' ); | |
| 110 | + | |
| 111 | + return FrmDb::get_row( $table, $where, $fields, $args ); | |
| 112 | + } | |
| 113 | + | |
| 114 | + /** | |
| 115 | + * @deprecated 2.03.05 | |
| 116 | + */ | |
| 117 | + public static function get_results( $table, $where = array(), $fields = '*', $args = array() ) { | |
| 118 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_results' ); | |
| 119 | + | |
| 120 | + return FrmDb::get_results( $table, $where, $fields, $args ); | |
| 121 | + } | |
| 122 | + | |
| 123 | + /** | |
| 124 | + * @deprecated 2.03.05 | |
| 125 | + */ | |
| 126 | + public static function append_where_is( $where_is ) { | |
| 127 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::append_where_is' ); | |
| 128 | + | |
| 129 | + return FrmDb::append_where_is( $where_is ); | |
| 130 | + } | |
| 131 | + | |
| 132 | + /** | |
| 133 | + * @deprecated 2.03.05 | |
| 134 | + */ | |
| 135 | + public static function get_associative_array_results( $columns, $table, $where ) { | |
| 136 | + _deprecated_function( __FUNCTION__, '2.03.05', 'FrmDb::get_associative_array_results' ); | |
| 137 | + | |
| 138 | + return FrmDb::get_associative_array_results( $columns, $table, $where ); | |
| 139 | + } | |
| 31 | 140 | } |