You are here

function _serial_get_field_table_name in Serial Field 6

Same name and namespace in other branches
  1. 7 serial.inc \_serial_get_field_table_name()

Gets the name of the assistant table for a specific field.

Parameters

$field: a serial field instance

Return value

the name of the assistant table of the specified field instance.

5 calls to _serial_get_field_table_name()
serial_schema in ./serial.install
Implementation of hook_schema().
_serial_create_table in ./serial.inc
Creates an assistant serial table for a new created field.
_serial_drop_table in ./serial.inc
Drops an assistant serial table for a deleted field.
_serial_generate_value in ./serial.inc
Generates a unique serial value (unique per node type).
_serial_init_old_nodes in ./serial.inc
Initializes the value of a new serial field in existing nodes.

File

./serial.inc, line 64
Internal functions for the Serial module.

Code

function _serial_get_field_table_name($field) {
  return _serial_get_table_name($field['type_name'], $field['field_name']);
}