TYPO3 CMS
TYPO3_6-2
|
Go to the source code of this file.
Functions | |
_rs2serialize (&$rs, $conn=false, $sql='') | |
csv2rs ($url, &$err, $timeout=0, $rsclass='ADORecordSet_array') | |
adodb_write_file ($filename, $contents, $debug=false) | |
Variables | |
global | $ADODB_INCLUDED_CSV = 1 |
_rs2serialize | ( | & | $rs, |
$conn = false , |
|||
$sql = '' |
|||
) |
convert a recordset into special format
rs | the recordset |
Definition at line 34 of file adodb-csvlib.inc.php.
adodb_write_file | ( | $filename, | |
$contents, | |||
$debug = false |
|||
) |
Save a file $filename and its $contents (normally for caching) with file locking Returns true if ok, false if fopen/fwrite error, 0 if rename error (eg. file is locked)
Definition at line 267 of file adodb-csvlib.inc.php.
Referenced by ADODB_Active_Record\UpdateActiveTable().
csv2rs | ( | $url, | |
& | $err, | ||
$timeout = 0 , |
|||
$rsclass = 'ADORecordSet_array' |
|||
) |
Open CSV file and convert it into Data.
url | file/ftp/http url |
err | returns the error message |
timeout | dispose if recordset has been alive for $timeout secs |
Definition at line 94 of file adodb-csvlib.inc.php.
References $rs.
$ADODB_INCLUDED_CSV = 1 |
Definition at line 6 of file adodb-csvlib.inc.php.