You are here

function schema_engine_invoke in Schema 6

Same name and namespace in other branches
  1. 5 schema.module \schema_engine_invoke()
2 calls to schema_engine_invoke()
schema_engine_type in ./schema.module
Converts a column's Schema type into an engine-specific data type.
schema_schema_type in ./schema.module
Convert an engine-specific data type into a Schema type.

File

./schema.module, line 182
The Schema module provides functionality built on the Schema API.

Code

function schema_engine_invoke($engine, $op) {
  global $db_type;
  if (!isset($engine)) {
    $engine = $db_type;
  }
  $function = 'schema_' . $engine . '_' . $op;
  $args = func_get_args();
  array_shift($args);
  return call_user_func_array($function, $args);
}