TYPO3 CMS  TYPO3_7-6
toexport.inc.php File Reference

Go to the source code of this file.

Functions

 rs2csv (&$rs, $addtitles=true)
 
 rs2csvfile (&$rs, $fp, $addtitles=true)
 
 rs2csvout (&$rs, $addtitles=true)
 
 rs2tab (&$rs, $addtitles=true)
 
 rs2tabfile (&$rs, $fp, $addtitles=true)
 
 rs2tabout (&$rs, $addtitles=true)
 
 _adodb_export (&$rs, $sep, $sepreplace, $fp=false, $addtitles=true, $quote='"',$escquote = '"', $replaceNewLine=' ')
 

Function Documentation

◆ _adodb_export()

_adodb_export ( $rs,
  $sep,
  $sepreplace,
  $fp = false,
  $addtitles = true,
  $quote = '"',
  $escquote = '"',
  $replaceNewLine = ' ' 
)

Definition at line 65 of file toexport.inc.php.

References $rs, and $sep.

Referenced by rs2csv(), rs2csvfile(), rs2csvout(), rs2tab(), rs2tabfile(), and rs2tabout().

◆ rs2csv()

rs2csv ( $rs,
  $addtitles = true 
)
Version
v5.20.3 01-Jan-2016

Code to export recordsets in several formats:

AS VARIABLE $s = rs2csv($rs); # comma-separated values $s = rs2tab($rs); # tab delimited

TO A FILE $f = fopen($path,'w'); rs2csvfile($rs,$f); fclose($f);

TO STDOUT rs2csvout($rs);

Definition at line 27 of file toexport.inc.php.

References $rs, and _adodb_export().

◆ rs2csvfile()

rs2csvfile ( $rs,
  $fp,
  $addtitles = true 
)

Definition at line 33 of file toexport.inc.php.

References $rs, and _adodb_export().

◆ rs2csvout()

rs2csvout ( $rs,
  $addtitles = true 
)

Definition at line 39 of file toexport.inc.php.

References $rs, and _adodb_export().

◆ rs2tab()

rs2tab ( $rs,
  $addtitles = true 
)

Definition at line 46 of file toexport.inc.php.

References $rs, and _adodb_export().

◆ rs2tabfile()

rs2tabfile ( $rs,
  $fp,
  $addtitles = true 
)

Definition at line 52 of file toexport.inc.php.

References $rs, and _adodb_export().

◆ rs2tabout()

rs2tabout ( $rs,
  $addtitles = true 
)

Definition at line 58 of file toexport.inc.php.

References $rs, and _adodb_export().