Exemplo n.º 1
0
 /**
  * The "PMA\libraries\plugins\schema\eps\RelationStatsEps" constructor
  *
  * @param object $diagram       The EPS diagram
  * @param string $master_table  The master table name
  * @param string $master_field  The relation field in the master table
  * @param string $foreign_table The foreign table name
  * @param string $foreign_field The relation field in the foreign table
  */
 public function __construct($diagram, $master_table, $master_field, $foreign_table, $foreign_field)
 {
     $this->wTick = 10;
     parent::__construct($diagram, $master_table, $master_field, $foreign_table, $foreign_field);
     $this->ySrc += 10;
     $this->yDest += 10;
 }
Exemplo n.º 2
0
 /**
  * The "PMA\libraries\plugins\schema\pdf\RelationStatsPdf" constructor
  *
  * @param object $diagram       The PDF diagram
  * @param string $master_table  The master table name
  * @param string $master_field  The relation field in the master table
  * @param string $foreign_table The foreign table name
  * @param string $foreign_field The relation field in the foreign table
  */
 public function __construct($diagram, $master_table, $master_field, $foreign_table, $foreign_field)
 {
     $this->wTick = 5;
     parent::__construct($diagram, $master_table, $master_field, $foreign_table, $foreign_field);
 }