Zikula 1.0.1
[ class tree: Zikula 1.0.1 ] [ index: Zikula 1.0.1 ] [ all elements ]

Procedural File: adodb-csvlib.inc.php

Source Location: /includes/classes/adodb/adodb-csvlib.inc.php



Page Details:



Tags:

filesource:  Source Code for this file








adodb_write_file [line 266]

void 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)




Parameters

   $filename  
   $contents  
   $debug  
[ Top ]



csv2rs [line 93]

recordset, &csv2rs( url $url, err &$err, [timeout $timeout = 0], [ $rsclass = 'ADORecordSet_array'])

Open CSV file and convert it into Data.



Tags:

return:  or false if error occured. If no error occurred in sql INSERT/UPDATE/DELETE, empty recordset is returned


Parameters

url   $url   file/ftp/http url
err   &$err   returns the error message
timeout   $timeout   dispose if recordset has been alive for $timeout secs
   $rsclass  
[ Top ]



_rs2serialize [line 34]

the _rs2serialize( rs &$rs, [ $conn = false], [ $sql = ''])

convert a recordset into special format



Tags:

return:  CSV formated data


Parameters

rs   &$rs   the recordset
   $conn  
   $sql  
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:39:10 +0200 by phpDocumentor 1.4.1