Methods
__construct()
__construct(string $column, null | string $name, array $lengths)
Parameters
$column
string
$name
nullstring
$lengths
array
addColumn()
addColumn(string $column) : \Zend\Db\Sql\Ddl\Constraint\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::addColumn() |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::addColumn() |
Parameters
$column
string
Returns
\Zend\Db\Sql\Ddl\Constraint\self
{@inheritDoc}
getColumns()
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::getColumns() |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::getColumns() |
{@inheritDoc}
getExpressionData() : array
Returns
array
of array|string should return an array in the format: array ( // a sprintf formatted string string $specification, // the values for the above sprintf formatted string array $values, // an array of equal length of the $values array, with either TYPE_IDENTIFIER or TYPE_VALUE for each value array $types, )
getName()
getName() : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::getName() |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::getName() |
Returns
string
setColumns()
setColumns(null | string | array $columns) : \Zend\Db\Sql\Ddl\Constraint\self
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::setColumns() |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::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() |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::setName() |
Parameters
$name
string
Returns
\Zend\Db\Sql\Ddl\Constraint\self
Properties
$columnSpecification
$columnSpecification : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::$$columnSpecification |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::$$columnSpecification |
$columns
$columns : array
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::$$columns |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::$$columns |
$lengths
$lengths : array
$name
$name : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::$$name |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::$$name |
$namedSpecification
$namedSpecification : string
Inherited
inherited_from |
\Zend\Db\Sql\Ddl\Constraint\AbstractConstraint::$$namedSpecification |
inherited_from |
\Zend\Db\Sql\Ddl\Index\AbstractIndex::$$namedSpecification |
$specification
$specification : string