class TableStatsEps extends TableStats

Table preferences/statistics

This class preserves the table co-ordinates,fields and helps in drawing/generating the Tables in EPS.

Properties

protected $diagram from TableStats
protected $db from TableStats
protected $pageNumber from TableStats
protected $tableName from TableStats
protected $showKeys from TableStats
protected $tableDimension from TableStats
$displayfield from TableStats
$fields from TableStats
$primary from TableStats
$x from TableStats
$y from TableStats
$width from TableStats
$heightCell from TableStats
protected $offline from TableStats
protected Relation $relation from TableStats
protected Font $font from TableStats
$height Defines properties
$currentCell

Methods

__construct(Pdf|Svg|Eps|Dia|Pdf $diagram, string $db, string $tableName, string $font, integer $fontSize, integer $pageNumber, integer $same_wide_width, boolean $showKeys = false, boolean $tableDimension = false, boolean $offline = false)

The "PhpMyAdmin\Plugins\Schema\Eps\TableStatsEps" constructor

void
validateTableAndLoadFields()

Validate whether the table exists.

void
showMissingTableError()

Displays an error when the table cannot be found.

void
loadCoordinates()

Loads coordinates of a table

void
loadDisplayField()

Loads the table's display field

void
loadPrimaryKey()

Loads the PRIMARY key.

string
getTitle()

Returns title of the current table, title can have the dimensions/co-ordinates of the table

void
tableDraw(boolean $showColor)

Draw the table

Details

at line 51
__construct(Pdf|Svg|Eps|Dia|Pdf $diagram, string $db, string $tableName, string $font, integer $fontSize, integer $pageNumber, integer $same_wide_width, boolean $showKeys = false, boolean $tableDimension = false, boolean $offline = false)

The "PhpMyAdmin\Plugins\Schema\Eps\TableStatsEps" constructor

Parameters

Pdf|Svg|Eps|Dia|Pdf $diagram schema diagram
string $db current db name
string $tableName table name
string $font The font name
integer $fontSize The font size
integer $pageNumber current page number (from the $cfg['Servers'][$i]['table_coords'] table)
integer $same_wide_width The max width among tables
boolean $showKeys whether to display keys or not
boolean $tableDimension whether to display table position or not
boolean $offline whether the coordinates are sent from the browser

See also

in TableStats at line 105
protected void validateTableAndLoadFields()

Validate whether the table exists.

Return Value

void

at line 88
protected void showMissingTableError()

Displays an error when the table cannot be found.

Return Value

void

in TableStats at line 147
protected void loadCoordinates()

Loads coordinates of a table

Return Value

void

in TableStats at line 167
protected void loadDisplayField()

Loads the table's display field

Return Value

void

in TableStats at line 177
protected void loadPrimaryKey()

Loads the PRIMARY key.

Return Value

void

in TableStats at line 199
protected string getTitle()

Returns title of the current table, title can have the dimensions/co-ordinates of the table

Return Value

string title of the current table

at line 156
void tableDraw(boolean $showColor)

Draw the table

Parameters

boolean $showColor Whether to display color

Return Value

void

See also