RelationStatsPdf
class RelationStatsPdf extends RelationStats (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 PDF document.
Properties
mixed | $xSrc | from RelationStats | |
mixed | $ySrc | from RelationStats | |
int | $srcDir | from RelationStats | |
int | $destDir | from RelationStats | |
mixed | $xDest | from RelationStats | |
mixed | $yDest | from RelationStats | |
int | $wTick | from RelationStats |
Methods
__construct(object $diagram, TableStats $masterTable, string $masterField, TableStats $foreignTable, string $foreignField)
No description
void
relationDraw(bool $showColor, int $i)
draws relation links and arrows shows foreign key relations
Details
__construct(object $diagram, TableStats $masterTable, string $masterField, TableStats $foreignTable, string $foreignField)
No description
void
relationDraw(bool $showColor, int $i)
draws relation links and arrows shows foreign key relations