abstract class RelationStats (View source)

Relations 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.

Properties

protected int|float $xSrc
protected int|float $ySrc
protected int $srcDir
protected int $destDir
protected int|float $xDest
protected int|float $yDest
protected int $wTick

Methods

__construct(TableStats $masterTable, string $masterField, TableStats $foreignTable, string $foreignField)

No description

Details

__construct(TableStats $masterTable, string $masterField, TableStats $foreignTable, string $foreignField)

No description

Parameters

TableStats $masterTable

The master table name

string $masterField

The relation field in the master table

TableStats $foreignTable

The foreign table name

string $foreignField

The relation field in the foreign table