Rajout d'un fil RSS
[zf2.biz/galerie.git] / module / Galerie / src / Galerie / Model / GalerieInfoRss.php
1 <?php
2
3 namespace Galerie\Model;
4
5 use Custom\Model\Entity;
6
7 class GalerieInfoRss extends Entity
8 {
9     public $id;
10     public $name;
11     public $description;
12     public $username;
13     public $nb;
14     public $created;
15     public $updated;
16
17
18     protected $columns = array(
19         'id',
20         'name',
21         'description',
22         'username',
23         'nb',
24         'created',
25         'updated',
26     );
27
28     protected $updatable_columns = array(
29     );
30
31     protected $primary_columns = array(
32     );
33
34     public function csvFormat()
35     {
36         return $this->id
37             . ';' . $this->name
38             . ';' . $this->description
39             . ';' . $this->username
40             . ';' . $this->nb
41             . ';' . $this->created
42             . ';' . $this->updated;
43     }
44
45 }
46