Methods
Constructor
__construct(string $column)
Parameters
$column
string
Get column name
getColumnName() : string
get foreign key delete rule
getForeignKeyDeleteRule() : string
Get foreign key update rule
getForeignKeyUpdateRule() : string
Get ordinal position
getOrdinalPosition() : int
Get position in unique constraint
getPositionInUniqueConstraint() : bool
Get referenced column name
getReferencedColumnName() : string
Get referenced table name
getReferencedTableName() : string
Get referencred table schema
getReferencedTableSchema() : string
Set foreign key delete rule
setForeignKeyDeleteRule(string $foreignKeyDeleteRule)
Parameters
$foreignKeyDeleteRule
string
set foreign key update rule
setForeignKeyUpdateRule(string $foreignKeyUpdateRule)
Parameters
$foreignKeyUpdateRule
string
Properties
$columnName
$columnName : string
$foreignKeyDeleteRule
$foreignKeyDeleteRule : string
$foreignKeyUpdateRule
$foreignKeyUpdateRule : string
$ordinalPosition
$ordinalPosition : int
$positionInUniqueConstraint
$positionInUniqueConstraint : bool
$referencedColumnName
$referencedColumnName : string
$referencedTableName
$referencedTableName : string
$referencedTableSchema
$referencedTableSchema : string
Constants
FK_NO_ACTION
FK_NO_ACTION
FK_SET_DEFAULT
FK_SET_DEFAULT