public function getChoices()
 {
     $choices = sfPlop::getAllThemes();
     if ($this->options['add_empty'] === true) {
         $choices = array('' => '') + $choices;
     }
     return $choices;
 }
 public function getChoices()
 {
     $choices = sfPlop::getAllThemes();
     foreach ($choices as $key => $choice) {
         if (is_array($choice)) {
             unset($choices[$key]);
             $choices += $choice;
         }
     }
     return array_keys($choices);
 }