diff options
Diffstat (limited to 'pdf/fpdf/tutorial/tuto4.htm')
-rwxr-xr-x | pdf/fpdf/tutorial/tuto4.htm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pdf/fpdf/tutorial/tuto4.htm b/pdf/fpdf/tutorial/tuto4.htm index c4a4eb8..7af730f 100755 --- a/pdf/fpdf/tutorial/tuto4.htm +++ b/pdf/fpdf/tutorial/tuto4.htm @@ -15,12 +15,10 @@ columns. class </span>PDF <span class="kw">extends </span>FPDF
<span class="kw">{
-</span><span class="cmt">// Current column
-</span><span class="kw">var </span>$col <span class="kw">= </span>0<span class="kw">;
-</span><span class="cmt">// Ordinate of column start
-</span><span class="kw">var </span>$y0<span class="kw">;
+protected </span>$col <span class="kw">= </span>0<span class="kw">; </span><span class="cmt">// Current column
+</span><span class="kw">protected </span>$y0<span class="kw">; </span><span class="cmt">// Ordinate of column start
-function </span>Header<span class="kw">()
+</span><span class="kw">function </span>Header<span class="kw">()
{
</span><span class="cmt">// Page header
</span><span class="kw">global </span>$title<span class="kw">;
|