Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
Index Class Reference

Public Member Functions

 __construct ($columns, $name=null, array $lengths=[])
 
 getExpressionData ()
 

Protected Attributes

 $specification = 'INDEX %s(...)'
 
 $lengths
 

Additional Inherited Members

- Public Attributes inherited from ExpressionInterface
const TYPE_IDENTIFIER = 'identifier'
 
const TYPE_VALUE = 'value'
 
const TYPE_LITERAL = 'literal'
 
const TYPE_SELECT = 'select'
 

Constructor & Destructor Documentation

__construct (   $columns,
  $name = null,
array  $lengths = [] 
)
Parameters
string | array | null$columns
null | string$name
array$lengths

Member Function Documentation

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

Implements ExpressionInterface.

Member Data Documentation

$lengths
protected
$specification = 'INDEX %s(...)'
protected