Rajout de l'export CSV
[zf2.biz/galerie.git] / module / Galerie / src / Galerie / Model / GalerieInfo.php
index 2abe6ca..954ee71 100644 (file)
@@ -27,4 +27,13 @@ class GalerieInfo extends Entity
     protected $primary_columns = array(
     );
 
+    public function csvFormat()
+    {
+        return $this->id
+            . ';' . $this->name
+            . ';' . $this->description
+            . ';' . $this->username
+            . ';' . $this->nb;
+    }
+
 }