Beispiel #1
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     parent::hydrate($rs, $startcol);
     $culture = sfContext::getInstance()->getUser()->getCulture();
     if ($culture == '' || $culture == null) {
         $culture = 'en';
     }
     $this->setCulture($culture);
 }