IDBFieldRelation Interface Reference
[Interfaces]
Interface for defining a relation between fields beeing part of a table relation. More...
Inheritance diagram for
IDBFieldRelation:
Public Member Functions |
|
get_source_field_name () | |
Return source table name. |
|
get_target_field_name () | |
Return target table name. |
|
reverse () | |
Returns an
IDBFieldRelation with source field as target field and vice
versa. |
Detailed Description
Interface for defining a relation between fields beeing part of a table relation.
We use terminology source and target here. Of course what is source and what is target depends on the perspective, so we could also call this A and B.
A field relation is defined for one field on source table that relates to one field on target table
Definition at line 13 of file idbfieldrelation.cls.php.
Member Function Documentation
IDBFieldRelation::get_source_field_name | ( | ) |
IDBFieldRelation::get_target_field_name | ( | ) |
IDBFieldRelation::reverse | ( | ) |
Returns an IDBFieldRelation with source field as target field and vice versa.
- Returns:
- IDBFieldRelation
Implemented in DBFieldRelation.
The documentation for this interface was generated from the following file:
- gyro/core/lib/interfaces/idbfieldrelation.cls.php