Class: Utils_RecordBrowserCommon
Source Location: /modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
Class Utils_RecordBrowserCommon
Inherited Properties, Constants, and Methods
Methods
static void actual_db_type(
$type,
$param
)
|
|
Parameters:
API Tags:
static void add_recent_entry(
$tab,
$user_id,
$id
)
|
|
Parameters:
API Tags:
static void admin_caption(
)
|
|
API Tags:
static void applet_new_record_button(
$tab, [
$defaults = array()]
)
|
|
Parameters:
API Tags:
static void applet_settings(
[
$some_more = array()]
)
|
|
Parameters:
API Tags:
static void build_query(
[
$tab = null], [
$crits = null], [
$admin = false], [
$order = array()]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$crits: |
|
|
|
$admin: |
|
|
|
$order: |
|
API Tags:
static void check_for_jump(
)
|
|
API Tags:
static void check_record_against_crits(
$tab,
$id,
$crits
)
|
|
Parameters:
API Tags:
static void check_table_name(
$tab, [
$flush = false]
)
|
|
Parameters:
API Tags:
static void count_possible_values(
$tab,
$field
)
|
|
Parameters:
API Tags:
static void create_linked_label(
$tab,
$col,
$id, [
$nolink = false]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$col: |
|
|
|
$id: |
|
|
|
$nolink: |
|
API Tags:
static void create_linked_label_r(
$tab,
$col,
$r, [
$nolink = false]
)
|
|
Parameters:
API Tags:
static void create_new_record_href(
$tab,
$def, [
$id = 'none']
)
|
|
Parameters:
API Tags:
static void create_record_href(
$tab,
$id, [
$action = 'view']
)
|
|
Parameters:
API Tags:
static void decode_multi(
$v
)
|
|
Parameters:
API Tags:
static void delete_addon(
$tab,
$module,
$func
)
|
|
Parameters:
API Tags:
static void delete_filter(
$tab,
$col_name
)
|
|
Parameters:
API Tags:
static void delete_record(
$tab,
$id, [
$perma = false]
)
|
|
Parameters:
API Tags:
static void delete_record_field(
$tab,
$field
)
|
|
Parameters:
API Tags:
static void enable_watchdog(
$tab,
$watchdog_callback
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$watchdog_callback: |
|
API Tags:
static void encode_multi(
$v
)
|
|
Parameters:
API Tags:
static void format_long_text(
$tab,
$record
)
|
|
Parameters:
API Tags:
static void format_long_text_array(
$tab,
$records
)
|
|
Parameters:
API Tags:
static void get_access(
$tab,
$action, [
$param = null], [
$param2 = null]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$action: |
|
|
|
$param: |
|
|
|
$param2: |
|
API Tags:
static void get_calcualted_id(
$tab,
$field,
$id
)
|
|
Parameters:
API Tags:
static void get_html_record_info(
[
$tab = null], [
$id = null]
)
|
|
Parameters:
API Tags:
static void get_id(
$tab,
$field,
$value
)
|
|
Parameters:
API Tags:
static void get_new_record_href(
$tab,
$def, [
$id = 'none']
)
|
|
Parameters:
API Tags:
static void get_next_and_prev_record(
[
$tab = null], [
$crits = null], [
$order = false], [
$id = null], [
$last = null]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$crits: |
|
|
|
$order: |
|
|
|
$id: |
|
|
|
$last: |
|
API Tags:
static void get_possible_values(
$tab,
$field
)
|
|
Parameters:
API Tags:
static void get_record(
$tab,
$id, [
$htmlspecialchars = true]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$id: |
|
|
|
$htmlspecialchars: |
|
API Tags:
static void get_records(
[
$tab = null], [
$crits = array()], [
$cols = array()], [
$order = array()], [
$limit = array()], [
$admin = false]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$crits: |
|
|
|
$cols: |
|
|
|
$order: |
|
|
|
$limit: |
|
|
|
$admin: |
|
API Tags:
static void get_records_limit(
[
$tab = null], [
$crits = null], [
$admin = false]
)
|
|
Parameters:
API Tags:
static void get_record_href_array(
$tab,
$id, [
$action = 'view']
)
|
|
Parameters:
API Tags:
static void get_record_info(
[
$tab = null], [
$id = null]
)
|
|
Parameters:
API Tags:
static void get_sql_type(
$type
)
|
|
Parameters:
API Tags:
static void get_tables(
$tab
)
|
|
Parameters:
API Tags:
static void get_val(
$tab,
$field,
$record,
$id, [
$links_not_recommended = false], [
$args = null]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$field: |
|
|
|
$record: |
|
|
|
$id: |
|
|
|
$links_not_recommended: |
|
|
|
$args: |
|
API Tags:
static void get_value(
$tab,
$id,
$field
)
|
|
Parameters:
API Tags:
static void init(
$tab, [
$admin = false], [
$force = false]
)
|
|
Parameters:
API Tags:
static void install_new_recordset(
[
$tab = null], [
$fields = array()]
)
|
|
Parameters:
API Tags:
static void is_active(
$tab,
$id
)
|
|
Parameters:
API Tags:
static void merge_crits(
[
$a = array()], [
$b = array()]
)
|
|
Parameters:
API Tags:
static void mobile_rb(
$table, [
$crits = array()], [
$sort = array()], [
$info = array()]
)
|
|
Parameters:
|
|
$table: |
|
|
array |
$crits: |
|
|
array |
$sort: |
|
|
|
$info: |
|
API Tags:
static void mobile_rb_view(
$tab,
$id
)
|
|
Parameters:
API Tags:
static void new_addon(
$tab,
$module,
$func,
$label
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$module: |
|
|
|
$func: |
|
|
|
$label: |
|
API Tags:
static void new_filter(
$tab,
$col_name
)
|
|
Parameters:
API Tags:
static void new_record(
[
$tab = null], [
$values = array()]
)
|
|
Parameters:
API Tags:
static void new_record_field(
$tab,
$field,
$type,
$visible,
$required, [
$param = ''], [
$style = ''], [
$extra = true], [
$filter = false], [
$pos = null]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$field: |
|
|
|
$type: |
|
|
|
$visible: |
|
|
|
$required: |
|
|
|
$param: |
|
|
|
$style: |
|
|
|
$extra: |
|
|
|
$filter: |
|
|
|
$pos: |
|
API Tags:
static void no_wrap(
$s
)
|
|
Parameters:
API Tags:
static void record_bbcode(
$tab,
$fields,
$text,
$param,
$opt
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$fields: |
|
|
|
$text: |
|
|
|
$param: |
|
|
|
$opt: |
|
API Tags:
static void record_link_close_tag(
)
|
|
API Tags:
static void record_link_open_tag(
$tab,
$id, [
$nolink = false], [
$action = 'view']
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$id: |
|
|
|
$nolink: |
|
|
|
$action: |
|
API Tags:
static void register_datatype(
$type,
$module,
$func
)
|
|
Parameters:
API Tags:
static void restore_record(
$tab,
$id
)
|
|
Parameters:
API Tags:
static void set_access_callback(
$tab,
$module,
$func
)
|
|
Parameters:
API Tags:
static void set_active(
$tab,
$id,
$state
)
|
|
Parameters:
API Tags:
static void set_addon_pos(
$tab,
$module,
$func,
$pos
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$module: |
|
|
|
$func: |
|
|
|
$pos: |
|
API Tags:
static void set_caption(
$tab,
$value
)
|
|
Parameters:
API Tags:
static void set_display_method(
[
$tab = null],
$field,
$module,
$func
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$field: |
|
|
|
$module: |
|
|
|
$func: |
|
API Tags:
static void set_favorites(
$tab,
$value
)
|
|
Parameters:
API Tags:
static void set_full_history(
$tab,
$value
)
|
|
Parameters:
API Tags:
static void set_icon(
$tab,
$value
)
|
|
Parameters:
API Tags:
static void set_processing_method(
$tab,
$method
)
|
|
Parameters:
API Tags:
static void set_QFfield_method(
[
$tab = null],
$field,
$module,
$func
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$field: |
|
|
|
$module: |
|
|
|
$func: |
|
API Tags:
static void set_quickjump(
$tab,
$col_name
)
|
|
Parameters:
API Tags:
static void set_recent(
$tab,
$value
)
|
|
Parameters:
API Tags:
static void set_record_properties(
$tab,
$id, [
$info = array()]
)
|
|
Parameters:
API Tags:
static void set_tpl(
$tab,
$filename
)
|
|
Parameters:
API Tags:
static void uninstall_recordset(
[
$tab = null]
)
|
|
Parameters:
API Tags:
static void unregister_datatype(
$type
)
|
|
Parameters:
API Tags:
static void unset_display_method(
[
$tab = null],
$field
)
|
|
Parameters:
API Tags:
static void unset_QFfield_method(
[
$tab = null],
$field
)
|
|
Parameters:
API Tags:
static void update_record(
$tab,
$id,
$values, [
$all_fields = false], [
$date = null], [
$dont_notify = false]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$id: |
|
|
|
$values: |
|
|
|
$all_fields: |
|
|
|
$date: |
|
|
|
$dont_notify: |
|
API Tags:
static void user_settings(
)
|
|
API Tags:
static void watchdog_label(
$tab,
$cat,
$rid, [
$events = array()], [
$label = null], [
$details = true]
)
|
|
Parameters:
|
|
$tab: |
|
|
|
$cat: |
|
|
|
$rid: |
|
|
|
$events: |
|
|
|
$label: |
|
|
|
$details: |
|
API Tags:
void cut_string(
$str,
$len, [
$tooltip = true], [
&$cut = null]
)
|
|
Parameters:
|
|
$str: |
|
|
|
$len: |
|
|
|
$tooltip: |
|
|
|
&$cut: |
|
API Tags:
|
|