Table editor fills the new entry form with the default values of the fields
[platal.git] / modules / carnet / contacts.pdf.inc.php
index e50bf96..32617b1 100644 (file)
 
 define ('FPDF_FONTPATH', dirname(__FILE__).'/fonts/');
 require_once '/usr/share/fpdf/fpdf.php';
-require_once dirname(__FILE__).'/../../classes/varstream.php';
+
+VarStream::init();
 
 class ContactsPDF extends FPDF
 {
-    var $col = 0;
-    var $y0;
+    public $title  = "Mes contacts sur Polytechnique.org";
+
+    private $col = 0;
+    private $y0;
 
-    var $title  = "Mes contacts sur Polytechnique.org";
-    var $broken = false;
-    var $error  = false;
+    private $broken = false;
+    private $error  = false;
 
-    var $report = 0;
+    private $report = 0;
 
     function ContactsPDF()
     {
@@ -339,7 +341,6 @@ class ContactsPDF extends FPDF
 
         return $self;
     }
-
 }
 
 ?>