Class Index

Summary

Fully Qualified Name: Zend\Db\Sql\Ddl\Index\Index
Extends: AbstractIndex

Description

Methods

Name Description Defined By
__construct() Index
addColumn() AbstractConstraint
getColumns() {@inheritDoc} AbstractConstraint
getExpressionData() Index
getName() AbstractConstraint
setColumns() AbstractConstraint
setName() AbstractConstraint

Method Details

__construct()

Parameter Name Type Description
$columns string|array|null
$name null|string
$lengths array

Returns:

addColumn()

Parameter Name Type Description
$column string

Returns: self Provides a fluent interface

getColumns()

{@inheritDoc}

Returns:

getExpressionData()

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()

Returns: string

setColumns()

Parameter Name Type Description
$columns null|string|array

Returns: self Provides a fluent interface

setName()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

Top