You are here

function data_include in Data 6

Include class file.

4 calls to data_include()
data_create_table in ./data.module
Create a table.
data_get_handler in ./data.module
Get Data handler for a table.
data_get_table in ./data.module
Get a table if it exists.
data_ui_adopt_form_submit in data_ui/data_ui.admin.inc
Submit handler for adopt table form.

File

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

Code

function data_include($class) {
  static $included;
  if (!isset($included[$class])) {
    include drupal_get_path('module', 'data') . '/includes/' . $class . '.inc';
    $included[$class] = TRUE;
  }
}