protected function formatValues(array $values, $format = 0)
    {
        foreach ($values as $key => $value) {
            $values[$key] = $this->formatValue($value, $format);
        }

        return implode(', ', $values);
    }
protected function formatValues(array $values, $format = 0)
    {
        foreach ($values as $key => $value) {
            $values[$key] = $this->formatValue($value, $format);
        }

        return implode(', ', $values);
    }
protected function formatValues ( array $ values , $ format = 0 ) { foreach ( $ values as $ key => $ value ) { $ values [ $ key ] = $ this -> formatValue ( $ value , $ format ) ; } return implode ( ', ' , $ values ) ; }
Returns a string representation of a list of values.

Each of the values is converted to a string using
{@link formatValue()}. The values are then concatenated with commas.

@param array $values A list of values
@param int   $format A bitwise combination of the format
constants in this class

@return string The string representation of the value list

@see formatValue()
Returns a string representation of a list of values .