private function escapeCsv($string) { return str_replace(array('\\', '"'), array('\\\\', '\\"'), $string); }