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

Public Member Functions

 __construct ($expression, $name)
 
 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, )

 
- Public Member Functions inherited from AbstractConstraint
 __construct ($columns=null, $name=null)
 
 setName ($name)
 
 getName ()
 
 setColumns ($columns)
 
 addColumn ($column)
 
 getColumns ()
 
 
 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, )

 

Protected Attributes

 $expression
 
 $specification = 'CHECK (%s)'
 
 
- Protected Attributes inherited from AbstractConstraint
 $columnSpecification = ' (%s)'
 
 $namedSpecification = 'CONSTRAINT %s '
 
 $specification = ''
 
 $name = ''
 
 $columns = []
 

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 (   $expression,
  $name 
)
Parameters
string | \Zend\Db\Sql\ExpressionInterface$expression
null | string$name

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

$expression
protected
$specification = 'CHECK (%s)'
protected