category Zend
package Zend_Db
subpackage Metadata

 Methods

Constructor

__construct(string $name, string $tableName, string $schemaName) 

Parameters

$name

string

$tableName

string

$schemaName

string

Get Check Clause.

getCheckClause() : string

Returns

string

Get Columns.

getColumns() : string[]

Returns

string[]

Get Delete Rule.

getDeleteRule() : string

Returns

string

Get Match Option.

getMatchOption() : string

Returns

string

Get name

getName() : string

Returns

string

Get Referenced Columns.

getReferencedColumns() : string[]

Returns

string[]

Get Referenced Table Name.

getReferencedTableName() : string

Returns

string

Get Referenced Table Schema.

getReferencedTableSchema() : string

Returns

string

Get schema name

getSchemaName() : string

Returns

string

Get table name

getTableName() : string

Returns

string

Get type

getType() : string

Returns

string

Get Update Rule.

getUpdateRule() : string

Returns

string

hasColumns()

hasColumns() 

Is foreign key

isCheck() : bool

Returns

bool

Is foreign key

isForeignKey() : bool

Returns

bool

Is primary key

isPrimaryKey() : bool

Returns

bool

Is unique key

isUnique() : bool

Returns

bool

Set Check Clause.

setCheckClause(string $checkClause) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$checkClause

string

Returns

Set Columns.

setColumns(array $columns) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$columns

string[]

Returns

Set Delete Rule.

setDeleteRule(string $deleteRule) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$deleteRule

string

Returns

Set Match Option.

setMatchOption(string $matchOption) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$matchOption

string

Returns

Set name

setName(string $name) 

Parameters

$name

string

Set Referenced Columns.

setReferencedColumns(array $referencedColumns) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$referencedColumns

string[]

Returns

Set Referenced Table Name.

setReferencedTableName(string $referencedTableName) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$referencedTableName

string

Returns

Set Referenced Table Schema.

setReferencedTableSchema(string $referencedTableSchema) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$referencedTableSchema

string

Returns

Set schema name

setSchemaName(string $schemaName) 

Parameters

$schemaName

string

Set table name

setTableName(string $tableName) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$tableName

string

Returns

Set type

setType(string $type) 

Parameters

$type

string

Set Update Rule.

setUpdateRule(string $updateRule) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$updateRule

string

Returns

 Properties

 

$checkClause

$checkClause : string

 

$columns

$columns : string[]

 

$deleteRule

$deleteRule : string

 

$matchOption

$matchOption : string

 

$name

$name : string

 

$referencedColumns

$referencedColumns : string[]

 

$referencedTableName

$referencedTableName : string

 

$referencedTableSchema

$referencedTableSchema : string

 

$schemaName

$schemaName : string

 

$tableName

$tableName : string

 

One of "PRIMARY KEY", "UNIQUE", "FOREIGN KEY", or "CHECK"

$type : string

 

$updateRule

$updateRule : string