Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/adodb/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 ( &$  rs,
sep,
sepreplace,
fp = false,
addtitles = true,
quote = '"',
escquote = '"',
replaceNewLine = ' ' 
)

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

Here is the caller graph for this function:

rs2csv ( &$  rs,
addtitles = true 
)
Version:
V4.93 10 Oct 2006 (c) 2000-2011 John Lim (jlim::natsoft.com). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence.

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 25 of file toexport.inc.php.

Here is the call graph for this function:

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

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

Here is the call graph for this function:

rs2csvout ( &$  rs,
addtitles = true 
)

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

Here is the call graph for this function:

rs2tab ( &$  rs,
addtitles = true 
)

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

Here is the call graph for this function:

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

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

Here is the call graph for this function:

rs2tabout ( &$  rs,
addtitles = true 
)

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

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations