diff options
author | BlinK_ <BlinK_@users.sourceforge.net> | 2010-03-31 12:28:11 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@novell.com> | 2010-03-31 12:28:11 +0400 |
commit | fad777ecb23ac323ba4b1a86220f8b4b7c612306 (patch) | |
tree | 19ec5e7d6ab96fdaf2e56178c844649ae5deb78c /pdf_schema.php | |
parent | bb0ad40413a0d049126bfa4f040e5bdc43a9f488 (diff) |
Do not use private variable, use getter instead (patch #2978828).
Diffstat (limited to 'pdf_schema.php')
-rw-r--r-- | pdf_schema.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf_schema.php b/pdf_schema.php index 086301af0a..552ee321d1 100644 --- a/pdf_schema.php +++ b/pdf_schema.php @@ -896,7 +896,7 @@ class PMA_RT { $pdf->SetDrawColor(200, 200, 200); // Draws horizontal lines for ($l = 0; $l < 21; $l++) { - $pdf->line(0, $l * 10, $pdf->fh, $l * 10); + $pdf->line(0, $l * 10, $pdf->getFh(), $l * 10); // Avoid duplicates if ($l > 0) { $pdf->SetXY(0, $l * 10); @@ -906,7 +906,7 @@ class PMA_RT { } // end for // Draws vertical lines for ($j = 0; $j < 30 ;$j++) { - $pdf->line($j * 10, 0, $j * 10, $pdf->fw); + $pdf->line($j * 10, 0, $j * 10, $pdf->getFw()); $pdf->SetXY($j * 10, 0); $label = (string) sprintf('%.0f', ($j * 10 - $this->l_marg) * $this->scale + $this->x_min); $pdf->Cell(5, 7, $label); |