Deprecated: Optional parameter $keys declared before required parameter $cms_id is implicitly treated as a required parameter in /home/www/dev/work/class/blog/CmsKey.php on line 75

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$title is deprecated in /home/www/dev/work/website/lvesu/class/controller/blog/php.php on line 28

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$outlink is deprecated in /home/www/dev/work/website/lvesu/template/blog/cms/php.manual.tpl on line 2

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$status is deprecated in /home/www/dev/work/website/lvesu/template/blog/index.head.php on line 2
PHP - Manual: Paradox 函数 - 互联网笔记

略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Paradox 函数

2025-08-05

Paradox 函数

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_db
Name of method Equivalent function
Constructor px_new()
Destructor px_delete()
open_fp() px_open_fp()
create_fp() px_create_fp()
close() px_close()
numrecords() px_numrecords()
numfields() px_numfields()
get_record() px_get_record()
put_record() px_put_record()
retrieve_record() px_retrieve_record()
delete_record() px_delete_record()
insert_record() px_insert_record()
update_record() px_update_record()
get_field() px_get_field()
get_schema() px_get_schema()
get_info() px_get_info()
set_parameter() px_set_parameter()
get_parameter() px_get_parameter()
set_value() px_set_value()
get_value() px_get_value()
get_info() px_get_info()
set_targetencoding() px_set_targetencoding()
set_tablename() px_set_tablename()
set_blob_file() px_set_blob_file()
date2string() px_date2string()
timestamp2string() px_timestamp2string()

Table of Contents

add a note add a note

User Contributed Notes 1 note

up
0
john dot navratil at sbcglobal dot net
12 years ago
Some difficulties were encountered installing this extension on php 5.1.6.  're2c' was not found.  On Fedora Core 5, php 5.1.6, I had to...

Install gc++ as re2c requires C++ and will not compile with the standard C compiler most often used.

Download re2c from sourceforge, untar, configure, make, make install.

Download pxlib from sourceforge, untar, configure, make, make install.

pecl install paradox (it has been moved from pear)

官方地址:https://www.php.net/manual/en/ref.paradox.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3