function data_get_handler in Data 7
Same name and namespace in other branches
- 6 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
2 calls to data_get_handler()
- DataTable::handler in includes/
DataTable.inc - Convenience method.
- DataTestCaseAPI::testCRUD in tests/
data.test - Run CRUD tests.
File
- ./
data.module, line 104 - Hooks and API functions for data module.
Code
function data_get_handler($table_name) {
return DataHandler::instance($table_name);
}