public function getChoices()
 {
     $choices = sfConfig::get('sf_plop_css_' . $this->getOption('property'));
     if ($this->getOption('add_empty') && is_array($choices)) {
         $choices = array('' => '') + $choices;
     }
     $this->setOption('choices', $choices);
     return parent::getChoices();
 }
 public function getChoices()
 {
     $filters = sfPlopSlotPeer::retrieveAllByTemplate('GoogleMapsFilter', $this->getOption('page_id'), $this->getOption('page_culture'));
     $options_for_filter = array('' => '');
     foreach ($filters as $filter_object) {
         $options_for_filter[$filter_object->getValue()] = $filter_object->getValue();
     }
     $this->setOption('choices', $options_for_filter);
     return parent::getChoices();
 }
    public function getChoices()
    {
        $choices = parent::getChoices();

        if (count($choices) > 0 && isset($choices['']) && $choices[''] == '') {
            $choices[''] = ' ';
        }

        return $choices;
    }