You are here

function schema_engine_invoke in Schema 5

Same name and namespace in other branches
  1. 6 schema.module \schema_engine_invoke()
3 calls to schema_engine_invoke()
db_type_map in ./schema_util.inc
schema_engine_type in ./schema.module
schema_schema_type in ./schema.module

File

./schema.module, line 143

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);
}