.

IDBFieldRelation Interface Reference
[Interfaces]

Interface for defining a relation between fields beeing part of a table relation. More...

Inheritance diagram for IDBFieldRelation:
DBFieldRelation

List of all members.

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

Author:
Gerd Riesselmann

Definition at line 13 of file idbfieldrelation.cls.php.


Member Function Documentation

IDBFieldRelation::get_source_field_name (  ) 

Return source table name.

Returns:
string

Implemented in DBFieldRelation.

IDBFieldRelation::get_target_field_name (  ) 

Return target table name.

Returns:
string

Implemented in DBFieldRelation.

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: