protected abstract function createTable($tablename,$table);
/**transform an internally used table name to the actual table name in the DB; the default implementation returns exactly what it gets*/
- protected function tableName($tname){return $tname;}
+ public function tableName($tname){return $tname;}
/**returns the correct type name for the required abstract data type;
types that must be understood are: int32 (INTEGER), int64 (LONG INTEGER), seq32 (auto-incrementing int), seq64, bool (boolean), string:$length (text up to 255 chars, length is optional, default is 255; VARCHAR($length)), text (unlimited text)*/
const COLUMN_CREATE_NULL = 2;
const COLUMN_CREATE_PKEY = 4;
const COLUMN_CREATE_FKEY = 8;
- const COLUMN_CREATE_KEY = self::COLUMN_CREATE_PKEY | self::COLUMN_CREATE_FKEY;
+ const COLUMN_CREATE_KEY = 12;
const COLUMN_CREATE_DEFAULT = 16;
const COLUMN_CREATE_INDEX = 32;
const COLUMN_CREATE_ALL = 0xffff;
return $schemanull==$dbnull;
}
- protected function tableName($tn)
+ public function tableName($tn)
{
return $this->prefix.$tn;
}