Class ConstraintKeyObject

Summary

Fully Qualified Name: Zend\Db\Metadata\Object\ConstraintKeyObject

Description

Methods

Name Description Defined By
__construct() Constructor ConstraintKeyObject
getColumnName() Get column name ConstraintKeyObject
getForeignKeyDeleteRule() get foreign key delete rule ConstraintKeyObject
getForeignKeyUpdateRule() Get foreign key update rule ConstraintKeyObject
getOrdinalPosition() Get ordinal position ConstraintKeyObject
getPositionInUniqueConstraint() Get position in unique constraint ConstraintKeyObject
getReferencedColumnName() Get referenced column name ConstraintKeyObject
getReferencedTableName() Get referenced table name ConstraintKeyObject
getReferencedTableSchema() Get referencred table schema ConstraintKeyObject
setColumnName() Set column name ConstraintKeyObject
setForeignKeyDeleteRule() Set foreign key delete rule ConstraintKeyObject
setForeignKeyUpdateRule() set foreign key update rule ConstraintKeyObject
setOrdinalPosition() Set ordinal position ConstraintKeyObject
setPositionInUniqueConstraint() Set position in unique constraint ConstraintKeyObject
setReferencedColumnName() Set referenced column name ConstraintKeyObject
setReferencedTableName() Set Referenced table name ConstraintKeyObject
setReferencedTableSchema() Set referenced table schema ConstraintKeyObject

Method Details

__construct()

Constructor

Parameter Name Type Description
$column string

Returns:

getColumnName()

Get column name

Returns: string

getForeignKeyDeleteRule()

get foreign key delete rule

Returns: string

getForeignKeyUpdateRule()

Get foreign key update rule

Returns: string

getOrdinalPosition()

Get ordinal position

Returns: int

getPositionInUniqueConstraint()

Get position in unique constraint

Returns: bool

getReferencedColumnName()

Get referenced column name

Returns: string

getReferencedTableName()

Get referenced table name

Returns: string

getReferencedTableSchema()

Get referencred table schema

Returns: string

setColumnName()

Set column name

Parameter Name Type Description
$columnName string

Returns: self Provides a fluent interface

setForeignKeyDeleteRule()

Set foreign key delete rule

Parameter Name Type Description
$foreignKeyDeleteRule string

Returns:

setForeignKeyUpdateRule()

set foreign key update rule

Parameter Name Type Description
$foreignKeyUpdateRule string

Returns:

setOrdinalPosition()

Set ordinal position

Parameter Name Type Description
$ordinalPosition int

Returns: self Provides a fluent interface

setPositionInUniqueConstraint()

Set position in unique constraint

Parameter Name Type Description
$positionInUniqueConstraint bool

Returns: self Provides a fluent interface

setReferencedColumnName()

Set referenced column name

Parameter Name Type Description
$referencedColumnName string

Returns: self Provides a fluent interface

setReferencedTableName()

Set Referenced table name

Parameter Name Type Description
$referencedTableName string

Returns: self Provides a fluent interface

setReferencedTableSchema()

Set referenced table schema

Parameter Name Type Description
$referencedTableSchema string

Returns: self Provides a fluent interface

Top