Changeset 1388
- Timestamp:
- Sep 19, 2010, 12:58:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/lib/model/doctrine/Intervention.class.php
r1387 r1388 23 23 public function getTitre() { 24 24 if ($this->type === 'question') 25 $titre = 'Question orale'; 26 else $titre = 'Intervention'; 27 if ($this->type === 'commission') 28 $titre .= ' en commission'; 29 else 30 $titre .= ' en hémicycle'; 31 return $titre.' le '.myTools::displayShortDate($this->date); 25 $titre = 'Question orale du '; 26 else { 27 $titre = 'Intervention'; 28 if ($this->type === 'commission') 29 $titre .= ' en commission'; 30 else 31 $titre .= ' en hémicycle'; 32 $titre .= ' le '; 33 } 34 $titre .= myTools::displayShortDate($this->date); 35 if ($this->type === 'question') 36 $titre .= ' : '.ucfirst($this->Section->getTitre()); 37 else if ($this->type === 'loi') 38 $titre .= ' : '.ucfirst($this->Section->Section->getTitreComplet()); 39 return $titre; 32 40 } 33 41
Note: See TracChangeset
for help on using the changeset viewer.