public function formatValues($value)
    {
        $options = $this->getOptions();
        if (is_array($value)) {
            if ($options) {
                foreach ($value as &$val) {
                    if (isset($options[$val])) {
                        $val = $options[$val];
                    }
                 }
            }
            return implode($this->_('; '), $value);
        }
        if (isset($options[$value])) {
            return $options[$value];
        }
        return $value;
    }
public function formatValues($value)
    {
        $options = $this->getOptions();
        if (is_array($value)) {
            if ($options) {
                foreach ($value as &$val) {
                    if (isset($options[$val])) {
                        $val = $options[$val];
                    }
                 }
            }
            return implode($this->_('; '), $value);
        }
        if (isset($options[$value])) {
            return $options[$value];
        }
        return $value;
    }
public function formatValues ( $ value ) { $ options = $ this -> getOptions ( ) ; if ( is_array ( $ value ) ) { if ( $ options ) { foreach ( $ value as & $ val ) { if ( isset ( $ options [ $ val ] ) ) { $ val = $ options [ $ val ] ; } } } return implode ( $ this -> _ ( '; ' ) , $ value ) ; } if ( isset ( $ options [ $ value ] ) ) { return $ options [ $ value ] ; } return $ value ; }
This formatFunction is needed because the options are not set before the concatenated row

@param string $value
@return string
This formatFunction is needed because the options are not set before the concatenated row