\Dewdrop\DbUniqueConstraint

Summary

Methods
Properties
Constants
setOptions()
__construct()
setMessage()
setValidationMessage()
setCaseSensitive()
affectsColumn()
createValidatorForField()
fieldValueIsUnique()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
filterSelectByFieldValue()
$table
$columns
$validationMessage
$caseSensitive
N/A

Properties

$columns

$columns : array

Type

array

$validationMessage

$validationMessage : string

Type

string

$caseSensitive

$caseSensitive : boolean

Type

boolean

Methods

setOptions()

setOptions(array  $options) 

Parameters

array $options

__construct()

__construct(\Dewdrop\Db\Table  $table, array  $columns) 

Parameters

\Dewdrop\Db\Table $table
array $columns

setMessage()

setMessage(  $message) 

Parameters

$message

setValidationMessage()

setValidationMessage(  $validationMessage) 

Parameters

$validationMessage

setCaseSensitive()

setCaseSensitive(  $caseSensitive) 

Parameters

$caseSensitive

affectsColumn()

affectsColumn(  $column) 

Parameters

$column

createValidatorForField()

createValidatorForField(\Dewdrop\Db\Field  $field) 

Parameters

\Dewdrop\Db\Field $field

fieldValueIsUnique()

fieldValueIsUnique(\Dewdrop\Db\Field  $field,   $value) 

Parameters

\Dewdrop\Db\Field $field
$value

filterSelectByFieldValue()

filterSelectByFieldValue(\Dewdrop\Db\Select  $select, \Dewdrop\Db\Field  $field,   $value) 

Parameters

\Dewdrop\Db\Select $select
\Dewdrop\Db\Field $field
$value