You are here

function _serial_get_table_name in Serial Field 6

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

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

Parameters

$type_name: the name of the type that contains the field

$field_name: the name of the field

Return value

the name of the assistant table of the specified field.

2 calls to _serial_get_table_name()
_serial_get_field_table_name in ./serial.inc
Gets the name of the assistant table for a specific field.
_serial_rename_tables in ./serial.inc
Renames serial table(s) when a content type us renamed.

File

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

Code

function _serial_get_table_name($type_name, $field_name) {
  return db_escape_table('serial_' . $type_name . '_' . $field_name);
}