RelationStatsDia
class RelationStatsDia (View source)
Relation preferences/statistics
This class fetches the table master and foreign fields positions and helps in generating the Table references and then connects master table's master field to foreign table's foreign key in dia XML document.
Properties
mixed | $srcConnPointsRight | ||
mixed | $srcConnPointsLeft | ||
mixed | $destConnPointsRight | ||
mixed | $destConnPointsLeft | ||
int | $masterTableId | ||
int | $foreignTableId | ||
string | $referenceColor |
Methods
__construct(Dia $diagram, TableStatsDia $masterTable, string $masterField, TableStatsDia $foreignTable, string $foreignField)
No description
void
relationDraw(bool $showColor)
Draws relation references
Details
__construct(Dia $diagram, TableStatsDia $masterTable, string $masterField, TableStatsDia $foreignTable, string $foreignField)
No description
void
relationDraw(bool $showColor)
Draws relation references
connects master table's master field to foreign table's foreign field using Dia object type Database - Reference Dia object is used to generate the XML of Dia Document. Database reference Object and their attributes are involved in the combination of displaying Database - reference on Dia Document.