[ Index ] |
|
Code source de CMS made simple 1.0.5 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 579 lignes (13 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
sqlite_driver_ADOConnection:: (15 méthodes):
sqlite_driver_ADOConnection()
_connect()
SelectDB()
ErrorMsg()
ErrorNo()
Affected_Rows()
Insert_ID()
qstr()
QMagic()
Concat()
IfNull()
Close()
GetAll()
GetArray()
do_query()
sqlite_driver_ResultSet:: (16 méthodes):
sqlite_driver_ResultSet()
close()
fields()
RecordCount()
FieldCount()
MoveNext()
MoveFirst()
MoveLast()
Move()
_seek()
_fetch()
EOF()
GetArray()
GetRows()
GetAll()
FetchField()
Classe: sqlite_driver_ADOConnection - X-Ref
ADOdb Lite is a PHP class to encapsulate multiple database APIs and is compatible withsqlite_driver_ADOConnection() X-Ref |
Pas de description |
_connect($host = "", $username = "", $password = "", $database = "", $persistent, $forcenew) X-Ref |
Connection to database server and selected database |
SelectDB($dbname) X-Ref |
Choose a database to connect. param: dbname is the name of the database to select return: true or false |
ErrorMsg() X-Ref |
Return database error message Usage: $errormessage =& $db->ErrorMsg(); |
ErrorNo() X-Ref |
Return database error number Usage: $errorbo =& $db->ErrorNo(); |
Affected_Rows() X-Ref |
Returns # of affected rows from insert/delete/update query return: integer Affected rows |
Insert_ID() X-Ref |
Returns the last record id of an inserted item Usage: $db->Insert_ID(); |
qstr($string, $magic_quotes=false) X-Ref |
Correctly quotes a string so that all strings are escape coded. An example is $db->qstr("Haven't a clue."); param: string the string to quote param: [magic_quotes] if $s is GET/POST var, set to get_magic_quotes_gpc(). return: single-quoted string IE: 'Haven\'t a clue.' |
QMagic($string) X-Ref |
Pas de description |
Concat() X-Ref |
Returns concatenated string Usage: $db->Concat($str1,$str2); return: concatenated string |
IfNull( $field, $ifNull ) X-Ref |
Pas de description |
Close() X-Ref |
Closes database connection Usage: $db->close(); |
GetAll($sql, $inputarr = false) X-Ref |
Returns All Records in an array Usage: $db->GetAll($sql); |
GetArray($sql, $inputarr = false) X-Ref |
Returns All Records in an array Usage: $db->GetArray($sql); |
do_query( $sql, $offset, $nrows, $inputarr=false ) X-Ref |
Executes SQL query and instantiates resultset methods return: mixed Resultset methods |
Classe: sqlite_driver_ResultSet - X-Ref
sqlite_driver_ResultSet( $resultId, $connectionId ) X-Ref |
sqliteResultSet Constructor param: string $record param: string $resultId |
close() X-Ref |
Frees resultset |
fields( $field ) X-Ref |
Returns field name from select query param: string $field return: string Field name |
RecordCount() X-Ref |
Returns numrows from select query return: integer Numrows |
FieldCount() X-Ref |
Returns num of fields from select query return: integer numfields |
MoveNext() X-Ref |
Returns next record |
MoveFirst() X-Ref |
Move to the first row in the recordset. Many databases do NOT support this. return: true or false |
MoveLast() X-Ref |
Returns the Last Record |
Move($rowNumber = 0) X-Ref |
Random access to a specific row in the recordset. Some databases do not support access to previous rows in the databases (no scrolling backwards). param: rowNumber is the row to move to (0-based) return: true if there still rows available, or false if there are no more rows (EOF). |
_seek($row) X-Ref |
Perform Seek to specific row |
_fetch() X-Ref |
Fills field array with first database element when query initially executed |
EOF() X-Ref |
Check to see if last record reached |
GetArray($nRows = -1) X-Ref |
Returns All Records in an array param: [nRows] is the number of rows to return. -1 means every row. |
GetRows($nRows = -1) X-Ref |
Pas de description |
GetAll($nRows = -1) X-Ref |
Pas de description |
FetchField($fieldOffset = -1) X-Ref |
Fetch field information for a table. return: object containing the name, type and max_length |
Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |