protected function exportFieldData(array $data)
    {
        $replacements = array("\n" => '\\n', "\r" => '\\r', "\t" => '\\t');

        foreach ($data as &$item) {
            $item = strtr((string) $item, $replacements);
        }
        fwrite($this->_file, implode("\t", $data) . "\r\n");
    }
protected function exportFieldData(array $data)
    {
        $replacements = array("\n" => '\\n', "\r" => '\\r', "\t" => '\\t');

        foreach ($data as &$item) {
            $item = strtr((string) $item, $replacements);
        }
        fwrite($this->_file, implode("\t", $data) . "\r\n");
    }
protected function exportFieldData ( array $ data ) { $ replacements = array ( "\n" => '\\n' , "\r" => '\\r' , "\t" => '\\t' ) ; foreach ( $ data as & $ item ) { $ item = strtr ( ( string ) $ item , $ replacements ) ; } fwrite ( $ this -> _file , implode ( "\t" , $ data ) . "\r\n" ) ; }
Write the array to the output to file

@param array $data
Write the array to the output to file