CIVICRM-832: Removing related memberships if parent membership type is changed which...
[civicrm-core.git] / Civi / CiUtil / CsvPrinter.php
index 9fe7d97fef50b7bfe538dd4f4eaacc2350d1e63f..4c4ec185a3efbd5d542725af792503a1549dbbbf 100644 (file)
@@ -1,11 +1,20 @@
 <?php
 namespace Civi\CiUtil;
 
+/**
+ * Class CsvPrinter
+ *
+ * @package Civi\CiUtil
+ */
 class CsvPrinter {
   var $file;
   var $headers;
   var $hasHeader = FALSE;
 
+  /**
+   * @param $file
+   * @param $headers
+   */
   public function __construct($file, $headers) {
     $this->file = fopen($file, "w");
     $this->headers = $headers;
@@ -23,6 +32,10 @@ class CsvPrinter {
     $this->hasHeader = TRUE;
   }
 
+  /**
+   * @param $test
+   * @param $values
+   */
   public function printRow($test, $values) {
     $this->printHeader();
     $row = $values;