| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
/** |
| 7 |
* @since 2.03.05 |
| 8 |
* @deprecated 2.03.05 |
| 9 |
* @codeCoverageIgnore |
| 10 |
*/ |
| 11 |
class FrmEntryMetaDeprecated { |
| 12 |
|
| 13 |
/** |
| 14 |
* @deprecated 2.03.05 |
| 15 |
*/ |
| 16 |
public static function add_entry_meta( $entry_id, $field_id, $meta_key = null, $meta_value ) { |
| 17 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::add_entry_meta' ); |
| 18 |
|
| 19 |
return FrmEntryMeta::add_entry_meta( $entry_id, $field_id, $meta_key, $meta_value ); |
| 20 |
} |
| 21 |
|
| 22 |
/** |
| 23 |
* @deprecated 2.03.05 |
| 24 |
*/ |
| 25 |
public static function update_entry_meta( $entry_id, $field_id, $meta_key = null, $meta_value ) { |
| 26 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::update_entry_meta' ); |
| 27 |
|
| 28 |
return FrmEntryMeta::update_entry_meta( $entry_id, $field_id, $meta_key, $meta_value ); |
| 29 |
} |
| 30 |
|
| 31 |
/** |
| 32 |
* @deprecated 2.03.05 |
| 33 |
*/ |
| 34 |
public static function update_entry_metas( $entry_id, $values ) { |
| 35 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::update_entry_metas' ); |
| 36 |
|
| 37 |
return FrmEntryMeta::update_entry_metas( $entry_id, $values ); |
| 38 |
} |
| 39 |
|
| 40 |
/** |
| 41 |
* @deprecated 2.03.05 |
| 42 |
*/ |
| 43 |
public static function duplicate_entry_metas( $old_id, $new_id ) { |
| 44 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::duplicate_entry_metas' ); |
| 45 |
FrmEntryMeta::duplicate_entry_metas( $old_id, $new_id ); |
| 46 |
} |
| 47 |
|
| 48 |
/** |
| 49 |
* @deprecated 2.03.05 |
| 50 |
*/ |
| 51 |
public static function delete_entry_meta( $entry_id, $field_id ) { |
| 52 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::delete_entry_meta' ); |
| 53 |
|
| 54 |
return FrmEntryMeta::delete_entry_meta( $entry_id, $field_id ); |
| 55 |
} |
| 56 |
|
| 57 |
/** |
| 58 |
* @deprecated 2.03.05 |
| 59 |
*/ |
| 60 |
public static function clear_cache() { |
| 61 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::clear_cache' ); |
| 62 |
FrmEntryMeta::clear_cache(); |
| 63 |
} |
| 64 |
|
| 65 |
/** |
| 66 |
* @deprecated 2.03.05 |
| 67 |
*/ |
| 68 |
public static function get_meta_value( $entry, $field_id ) { |
| 69 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::get_meta_value' ); |
| 70 |
|
| 71 |
return FrmEntryMeta::get_meta_value( $entry, $field_id ); |
| 72 |
} |
| 73 |
|
| 74 |
/** |
| 75 |
* @deprecated 2.03.05 |
| 76 |
*/ |
| 77 |
public static function get_entry_meta_by_field( $entry_id, $field_id ) { |
| 78 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::get_entry_meta_by_field' ); |
| 79 |
|
| 80 |
return FrmEntryMeta::get_entry_meta_by_field( $entry_id, $field_id ); |
| 81 |
} |
| 82 |
|
| 83 |
/** |
| 84 |
* @deprecated 2.03.05 |
| 85 |
*/ |
| 86 |
public static function get_entry_metas_for_field( $field_id, $order = '', $limit = '', $args = array() ) { |
| 87 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::get_entry_metas_for_field' ); |
| 88 |
|
| 89 |
return FrmEntryMeta::get_entry_metas_for_field( $field_id, $order, $limit, $args ); |
| 90 |
} |
| 91 |
|
| 92 |
/** |
| 93 |
* @deprecated 2.03.05 |
| 94 |
*/ |
| 95 |
public static function get_entry_meta_info( $entry_id ) { |
| 96 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::get_entry_meta_info' ); |
| 97 |
|
| 98 |
return FrmEntryMeta::get_entry_meta_info( $entry_id ); |
| 99 |
} |
| 100 |
|
| 101 |
/** |
| 102 |
* @deprecated 2.03.05 |
| 103 |
*/ |
| 104 |
public static function getAll( $where = array(), $order_by = '', $limit = '', $stripslashes = false ) { |
| 105 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::getAll' ); |
| 106 |
|
| 107 |
return FrmEntryMeta::getAll( $where, $order_by, $limit, $stripslashes ); |
| 108 |
} |
| 109 |
|
| 110 |
/** |
| 111 |
* @deprecated 2.03.05 |
| 112 |
*/ |
| 113 |
public static function getEntryIds( $where = array(), $order_by = '', $limit = '', $unique = true, $args = array() ) { |
| 114 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::getEntryIds' ); |
| 115 |
|
| 116 |
return FrmEntryMeta::getEntryIds( $where, $order_by, $limit, $unique, $args ); |
| 117 |
} |
| 118 |
|
| 119 |
/** |
| 120 |
* @deprecated 2.03.05 |
| 121 |
*/ |
| 122 |
public static function search_entry_metas( $search, $field_id = '', $operator ) { |
| 123 |
_deprecated_function( __FUNCTION__, '2.03.05', 'FrmEntryMeta::search_entry_metas' ); |
| 124 |
|
| 125 |
return FrmEntryMeta::search_entry_metas( $search, $field_id, $operator ); |
| 126 |
} |
| 127 |
} |
| 128 |
|