Documentation TYPO3 par Ameos

PMA_RT Class Reference

List of all members.

Public Member Functions

 PMA_RT_setMinMax ($table)
 PMA_RT_addRelation ($master_table, $master_field, $foreign_table, $foreign_field)
 PMA_RT_strokeGrid ()
 PMA_RT_drawRelations ($change_color)
 PMA_RT_drawTables ($show_info, $draw_color=0)
 PMA_RT_showRt ()
 PMA_RT ($which_rel, $show_info=0, $change_color=0, $show_grid=0, $all_tab_same_wide=0, $orientation= 'L', $paper= 'A4')

Public Attributes

 $tables = array()
 $relations = array()
 $ff = 'Arial'
 $x_max = 0
 $y_max = 0
 $scale
 $x_min = 100000
 $y_min = 100000
 $t_marg = 10
 $b_marg = 10
 $l_marg = 10
 $r_marg = 10
 $tablewidth
 $same_wide = 0

Detailed Description

Draws and send the database schema

public

See also:
PMA_PDF

Definition at line 887 of file pdf_schema.php.


Constructor & Destructor Documentation

PMA_RT::PMA_RT which_rel,
show_info = 0,
change_color = 0,
show_grid = 0,
all_tab_same_wide = 0,
orientation = 'L',
paper = 'A4'
 

The "PMA_RT" constructor

Parameters:
mixed The scaling factor
integer The page number to draw (from the $cfg['Servers'][$i]['table_coords'] table)
boolean Whether to display table position or not
boolean Was originally whether to use one color per relation or not, now enables/disables color everywhere, due to some problems printing with color
boolean Whether to draw grids or not
boolean Whether all tables should have the same width or not
object The current PDF document string The current db name array The relations settings

private

See also:
PMA_PDF

Definition at line 1079 of file pdf_schema.php.


Member Function Documentation

PMA_RT::PMA_RT_addRelation master_table,
master_field,
foreign_table,
foreign_field
 

Defines relation objects

Parameters:
string The master table name
string The relation field in the master table
string The foreign table name
string The relation field in the foreign table
private

See also:
PMA_RT_setMinMax()

Definition at line 935 of file pdf_schema.php.

References PMA_RT_setMinMax().

PMA_RT::PMA_RT_drawRelations change_color  ) 
 

Draws relation arrows

Parameters:
boolean Whether to use one color per relation or not
private

See also:
PMA_RT_Relation::PMA_RT_Relation_draw()

Definition at line 995 of file pdf_schema.php.

PMA_RT::PMA_RT_drawTables show_info,
draw_color = 0
 

Draws tables

Parameters:
boolean Whether to display table position or not
private

See also:
PMA_RT_Table::PMA_RT_Table_draw()

Definition at line 1014 of file pdf_schema.php.

PMA_RT::PMA_RT_setMinMax table  ) 
 

Sets X and Y minimum and maximum for a table cell

Parameters:
string The table name
private

Definition at line 914 of file pdf_schema.php.

Referenced by PMA_RT_addRelation().

PMA_RT::PMA_RT_showRt  ) 
 

Ouputs the PDF document to a file

object The current PDF document string The current database name integer The current page number (from the $cfg['Servers'][$i]['table_coords'] table)

private

See also:
PMA_PDF

Definition at line 1034 of file pdf_schema.php.

PMA_RT::PMA_RT_strokeGrid  ) 
 

Draws the grid

object the current PMA_PDF instance

private

See also:
PMA_PDF

Definition at line 958 of file pdf_schema.php.


Member Data Documentation

PMA_RT::$tables = array()
 

Defines private properties

Definition at line 892 of file pdf_schema.php.


The documentation for this class was generated from the following file:


Généré par L'expert TYPO3 avec  doxygen 1.4.6