public function formatString($input)
    {
        if (is_array($input)) {
            $input = join(', ', $input);
        }
        $output = strip_tags($input);
        $output = str_replace(array("\r", "\n"), array(' ', ' '), $output);
        
        $output = $this->filterCsvInjection($output);
        
        return $output;
    }
public function formatString($input)
    {
        if (is_array($input)) {
            $input = join(', ', $input);
        }
        $output = strip_tags($input);
        $output = str_replace(array("\r", "\n"), array(' ', ' '), $output);
        
        $output = $this->filterCsvInjection($output);
        
        return $output;
    }
public function formatString ( $ input ) { if ( is_array ( $ input ) ) { $ input = join ( ', ' , $ input ) ; } $ output = strip_tags ( $ input ) ; $ output = str_replace ( array ( "\r" , "\n" ) , array ( ' ' , ' ' ) , $ output ) ; $ output = $ this -> filterCsvInjection ( $ output ) ; return $ output ; }
Formatting of strings for CSV export.

@param type $input
@return string
Formatting of strings for CSV export .