Simple Power SQLite class: Class in PHP for easy SQLite operation.
Tested on PHP 4.3.3 (Win XP) - PHP5.0.0b2dev (Win XP).
Use or not use buffer/unbeffered result?
Milliseconds
Array with cols name and type
the SQL query
Resouce of SQLite connection
The name of database
The state of transaction
Set behaviour (reset or not reset the type setting?)
If $_rememberType is true, it comes remembered between one call and the other of returnRow() and selectRow(), if it is false, $_type always comes set on 'both'
The result resource
Show or not show the error message?
Array with table information
Array of query
Type of array index (row)
The class version
Set the properties $file, $persistent and $showMessage.
Connect to database.
This method expand the SQLite ability
The functions added with this method, can be used in the sql query. The functgion of PHP, they can be called with the sintax: php('functionName', param, param, ...)
Add a query to transaction
Return how many lines are changed
Alter the structure of table
Start transaction process
The version of class
Close a connection to database
Finish the transaction process
This method return decoded binary data
This method return encoded binary data
Prepare a string with special characters
This method return an array with columns name and type of the current table
This method return an array of table info or a specific info
Return the last insert id (column declared INTEGER PRIMARY KEY )
The encoding of library
The version of library
Return the number of rows
Optimize dimension of database with the SQLite statemant VACUUM
Submit a SQL query to database
Get rows !!
Select a portion of rowset
Set the waiting time to busy
Increase the performance of SQLite
Accessory method
This method create a fragment of query (process the array whith columns definition)
Accessory method
Accessory method
Accessory method
If a query fails in a transaction, this method it takes part
Set the array _colsType with columns information
This method set _tableInfo
This method set a type-index of the array rows
Print the last error
Documention generated on Mon, 14 Jul 2003 14:38:56 +0200 by phpDocumentor 1.2.1