.

IDBConstraint Interface Reference
[Interfaces]

A constraint on a DB table. More...

Inheritance diagram for IDBConstraint:
DBConstraint DBConstraintUnique

List of all members.

Public Member Functions

  get_fields ()
  Returns field taking parts in this relation.
  validate ($arr_fields, $arr_keys)
  Check if constraints are fullfiled.

Detailed Description

A constraint on a DB table.

Author:
Gerd Riesselmann

Definition at line 8 of file idbconstraint.cls.php.


Member Function Documentation

IDBConstraint::get_fields (  ) 

Returns field taking parts in this relation.

Returns:
array Array with column name as value

Implemented in DBConstraint.

IDBConstraint::validate ( arr_fields,
arr_keys  
)

Check if constraints are fullfiled.

Parameters:
array  Cosntraint Column data Associative array of form fieldname => fieldvalue
array  Key Column Data Associative array of form fieldname => fieldvalue
Returns:
Status

Implemented in DBConstraintUnique, and DBConstraint.


The documentation for this interface was generated from the following file: