PHP Class CI_DB_cubrid_forge, TastyIgniter

Author: Esen Sagynov
Inheritance: extends CI_DB_forge
ファイルを表示 Open project: tastyigniter/tastyigniter

Protected Properties

Property Type Description
$_create_database string CREATE DATABASE statement
$_create_table_if string CREATE TABLE IF statement
$_create_table_keys boolean Whether table keys are created from within the CREATE TABLE statement.
$_drop_database string DROP DATABASE statement
$_unsigned array UNSIGNED support

Protected Methods

Method Description
_alter_table ( string $alter_type, string $table, mixed $field ) : string | string[] ALTER TABLE
_attr_type ( &$attributes ) : void Field attribute TYPE
_process_column ( array $field ) : string Process column
_process_indexes ( string $table ) : string Process indexes

Method Details

_alter_table() protected method

ALTER TABLE
protected _alter_table ( string $alter_type, string $table, mixed $field ) : string | string[]
$alter_type string ALTER type
$table string Table name
$field mixed Column definition
return string | string[]

_attr_type() protected method

Performs a data type mapping between different databases.
protected _attr_type ( &$attributes ) : void
return void

_process_column() protected method

Process column
protected _process_column ( array $field ) : string
$field array
return string

_process_indexes() protected method

Process indexes
protected _process_indexes ( string $table ) : string
$table string (ignored)
return string

Property Details

$_create_database protected_oe property

CREATE DATABASE statement
protected string $_create_database
return string

$_create_table_if protected_oe property

CREATE TABLE IF statement
protected string $_create_table_if
return string

$_create_table_keys protected_oe property

Whether table keys are created from within the CREATE TABLE statement.
protected bool $_create_table_keys
return boolean

$_drop_database protected_oe property

DROP DATABASE statement
protected string $_drop_database
return string

$_unsigned protected_oe property

UNSIGNED support
protected array $_unsigned
return array