Paradox File AccessParadox
&reftitle.intro;
&warn.experimental;
This module allows to read and write Paradox databases, primary index
files and blob files. Write support has been proven to be quite reliable,
though due to lack of documentation the produced files may not in
any case be readable by other applications. Encrypted databases can
be read without specifying a password if pxlib >= 0.5.0 is used.
This module is also in development and may change, though I don't expect
major changes to the API.
&reftitle.required;
You need at least PHP 5.0.0 and pxlib >= 0.4.4 for the basic set
of functions. Some newer functions are only available with pxlib >=
0.6.0. Reading and writing of encrypted databases requires at least
pxlib >= 0.5.0. The paradox library (pxlib) is available at
&url.paradox.pxlib;.
&reference.paradox.configure;
&reftitle.runtime;
&no.config;
Object oriented API
The paradox extension provides also an object oriented API. It consists of
only one class called paradox_db. Its methods only differ from the
functions in its name and of course the missing first parameter. The
following table will list all methods and its equivalent functions.
Methods of class paradox_dbName of methodEquivalent functionConstructorpx_newDestructorpx_deleteopen_fppx_open_fpcreate_fppx_create_fpclosepx_closenumrecordspx_numrecordsnumfieldspx_numfieldsget_recordpx_get_recordput_recordpx_put_recordretrieve_recordpx_retrieve_recorddelete_recordpx_delete_recordinsert_recordpx_insert_recordupdate_recordpx_update_recordget_fieldpx_get_fieldget_schemapx_get_schemaget_infopx_get_infoset_parameterpx_set_parameterget_parameterpx_get_parameterset_valuepx_set_valueget_valuepx_get_valueget_infopx_get_infoset_targetencodingpx_set_targetencodingset_tablenamepx_set_tablenameset_blob_filepx_set_blob_filedate2stringpx_date2stringtimestamp2stringpx_timestamp2string
&reftitle.resources;
px_new creates a new Paradox object required by all
Paradox functions.
&reference.paradox.constants;
&reference.paradox.functions;