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