public function export($include_headers = true)
    {
        $res = '';
        if ($include_headers) {
            $res .= $this->export_headers();
            $res .= "\n\n";
        }
        $res .= $this->export_entries();

        return $res;
    }
public function export($include_headers = true)
    {
        $res = '';
        if ($include_headers) {
            $res .= $this->export_headers();
            $res .= "\n\n";
        }
        $res .= $this->export_entries();

        return $res;
    }
public function export ( $ include_headers = true ) { $ res = '' ; if ( $ include_headers ) { $ res .= $ this -> export_headers ( ) ; $ res .= "\n\n" ; } $ res .= $ this -> export_entries ( ) ; return $ res ; }
Exports the whole PO file as a string.

@param bool $include_headers whether to include the headers in the
export

@return string ready for inclusion in PO file string for headers and all
the enrtries
Exports the whole PO file as a string .