You are here

function data_get_handler in Data 6

Same name and namespace in other branches
  1. 7 data.module \data_get_handler()

Get Data handler for a table.

Parameters

$table_name: String that is the name of a table.

Return value

DataHandler object that provides access to a table's data.

See also

class DataHandler

4 calls to data_get_handler()
DataTable::handler in includes/DataTable.inc
Convenience method.
DataTestCaseAPI::testCRUD in tests/data.test
Run CRUD tests.
DataViewsBulkOperationsHelper::load in data_vbo/data_vbo.module
data_delete_action in data_vbo/data_vbo.module

File

./data.module, line 130
Hooks and API functions for data module.

Code

function data_get_handler($table_name) {
  data_include('DataHandler');
  return DataHandler::instance($table_name);
}