Methods
__construct()
__construct(null | string $name, null | string | array $columns, string $referenceTable, null | string | array $referenceColumn, null | string $onDeleteRule, null | string $onUpdateRule)
Parameters
$name
nullstring
$columns
nullstringarray
$referenceTable
string
$referenceColumn
nullstringarray
$onDeleteRule
nullstring
$onUpdateRule
nullstring
addColumn()
addColumn(string $column) : \Zend\Db\Sql\Ddl\Constraint\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::addColumn() |
Parameters
$column
string
Returns
\Zend\Db\Sql\Ddl\Constraint\self
{@inheritDoc}
getColumns()
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::getColumns() |
{@inheritDoc}
getExpressionData() : array
getName()
getName() : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::getName() |
Returns
string
getOnDeleteRule()
getOnDeleteRule() : string
getOnUpdateRule()
getOnUpdateRule() : string
getReferenceColumn()
getReferenceColumn() : array
getReferenceTable()
getReferenceTable() : string
setColumns()
setColumns(null | string | array $columns) : \Zend\Db\Sql\Ddl\Constraint\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::setColumns() |
Parameters
$columns
nullstringarray
Returns
\Zend\Db\Sql\Ddl\Constraint\self
setName()
setName(string $name) : \Zend\Db\Sql\Ddl\Constraint\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::setName() |
Parameters
$name
string
Returns
\Zend\Db\Sql\Ddl\Constraint\self
setOnDeleteRule()
setOnDeleteRule(string $onDeleteRule) : \Zend\Db\Sql\Ddl\Constraint\self
Parameters
$onDeleteRule
string
Returns
\Zend\Db\Sql\Ddl\Constraint\self
setOnUpdateRule()
setOnUpdateRule(string $onUpdateRule) : \Zend\Db\Sql\Ddl\Constraint\self
Parameters
$onUpdateRule
string
Returns
\Zend\Db\Sql\Ddl\Constraint\self
setReferenceColumn()
setReferenceColumn(null | string | array $referenceColumn) : \Zend\Db\Sql\Ddl\Constraint\self
Parameters
$referenceColumn
nullstringarray
Returns
\Zend\Db\Sql\Ddl\Constraint\self
setReferenceTable()
setReferenceTable(string $referenceTable) : \Zend\Db\Sql\Ddl\Constraint\self
Parameters
$referenceTable
string
Returns
\Zend\Db\Sql\Ddl\Constraint\self
Properties
$columnSpecification
$columnSpecification : string
$columns
$columns : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::$$columns |
$name
$name : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::$$name |
$namedSpecification
$namedSpecification : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::$$namedSpecification |
$onDeleteRule
$onDeleteRule : string
$onUpdateRule
$onUpdateRule : string
$referenceColumn
$referenceColumn : string[]
$referenceSpecification
$referenceSpecification : string[]
$referenceTable
$referenceTable : string
$specification
$specification : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::$$specification |