Utils/ArrayUtils.php
/**
     * Quote all values of an array according to their type (mainly for usage in CSV)
     *
     * @param array $array
     * @return array
     */
Quote all values of an array according to their type (mainly for usage in CSV)
@param array $array
@return array
Quote all values of an array according to their type ( mainly for usage in CSV ) @param array $array @return array
public static function csvQuote(array $array)
    {
        foreach ($array as &$value) {
            $value = is_array($value) ? self::csvQuote($value) : StringUtils::csvQuote($value);
        }
        return $array;
    }
public static function csvQuote ( array $ array ) { foreach ( $ array as & $ value ) { $ value = is_array ( $ value ) ? self :: csvQuote ( $ value ) : StringUtils :: csvQuote ( $ value ) ; } return $ array ; }
Quote all values of an array according to their type (mainly for usage in CSV)
 @param array $array
 @return array
Quote all values of an array according to their type ( mainly for usage in CSV ) @param array $array @return array