<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<reference xml:id="ref.paradox" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Paradox &Functions;</title>

 <partintro>

  <!-- FIXME: Apparently there is a class here.. -->
  <section xml:id="paradox.oo-api">
   <title>Object oriented API</title>
   <para>
    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.

    <table xml:id="paradox.table-class-methods">
     <title>Methods of class paradox_db</title>
     <tgroup cols="2">
      <thead>
       <row>
        <entry>Name of method</entry>
        <entry>Equivalent function</entry>
       </row>
      </thead>
      <tbody>
       <row>
        <entry>Constructor</entry>
        <entry><function>px_new</function></entry>
       </row>
       <row>
        <entry>Destructor</entry>
        <entry><function>px_delete</function></entry>
       </row>
       <row>
        <entry><function>open_fp</function></entry>
        <entry><function>px_open_fp</function></entry>
       </row>
       <row>
        <entry><function>create_fp</function></entry>
        <entry><function>px_create_fp</function></entry>
       </row>
       <row>
        <entry><function>close</function></entry>
        <entry><function>px_close</function></entry>
       </row>
       <row>
        <entry><function>numrecords</function></entry>
        <entry><function>px_numrecords</function></entry>
       </row>
       <row>
        <entry><function>numfields</function></entry>
        <entry><function>px_numfields</function></entry>
       </row>
       <row>
        <entry><function>get_record</function></entry>
        <entry><function>px_get_record</function></entry>
       </row>
       <row>
        <entry><function>put_record</function></entry>
        <entry><function>px_put_record</function></entry>
       </row>
       <row>
        <entry><function>retrieve_record</function></entry>
        <entry><function>px_retrieve_record</function></entry>
       </row>
       <row>
        <entry><function>delete_record</function></entry>
        <entry><function>px_delete_record</function></entry>
       </row>
       <row>
        <entry><function>insert_record</function></entry>
        <entry><function>px_insert_record</function></entry>
       </row>
       <row>
        <entry><function>update_record</function></entry>
        <entry><function>px_update_record</function></entry>
       </row>
       <row>
        <entry><function>get_field</function></entry>
        <entry><function>px_get_field</function></entry>
       </row>
       <row>
        <entry><function>get_schema</function></entry>
        <entry><function>px_get_schema</function></entry>
       </row>
       <row>
        <entry><function>get_info</function></entry>
        <entry><function>px_get_info</function></entry>
       </row>
       <row>
        <entry><function>set_parameter</function></entry>
        <entry><function>px_set_parameter</function></entry>
       </row>
       <row>
        <entry><function>get_parameter</function></entry>
        <entry><function>px_get_parameter</function></entry>
       </row>
       <row>
        <entry><function>set_value</function></entry>
        <entry><function>px_set_value</function></entry>
       </row>
       <row>
        <entry><function>get_value</function></entry>
        <entry><function>px_get_value</function></entry>
       </row>
       <row>
        <entry><function>get_info</function></entry>
        <entry><function>px_get_info</function></entry>
       </row>
       <row>
        <entry><function>set_targetencoding</function></entry>
        <entry><function>px_set_targetencoding</function></entry>
       </row>
       <row>
        <entry><function>set_tablename</function></entry>
        <entry><function>px_set_tablename</function></entry>
       </row>
       <row>
        <entry><function>set_blob_file</function></entry>
        <entry><function>px_set_blob_file</function></entry>
       </row>
       <row>
        <entry><function>date2string</function></entry>
        <entry><function>px_date2string</function></entry>
       </row>
       <row>
        <entry><function>timestamp2string</function></entry>
        <entry><function>px_timestamp2string</function></entry>
       </row>
      </tbody>
     </tgroup>
    </table>
   </para>
  </section>
 </partintro>

 &reference.paradox.entities.functions;

</reference>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->