IDBConstraint Interface Reference
[Interfaces]
A constraint on a DB table. More...
Inheritance diagram for IDBConstraint:
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.
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:
- gyro/core/lib/interfaces/idbconstraint.cls.php