Conector and datasource for other databases

I would like to modify the php connector and datasource to support other database (foxpro dbf). What should I modify to get these file

Sergio.

Get db_sqlite3.php as an example

You need to define a class which extends DBDataWrapper, and name of class is like
{DBName}DBDataWrapper

In that class you need to override next methods

  • query - executes sql code returns result
  • get_next - returns next portion of data from result
  • get_new_id - returns new id value after insert operation
  • escape - escapes string, so it can be safely inserted in SQL code