px_get_info

(PECL)

px_get_info -- Return lots of information about a paradox file

DescripciĆ³n

array px_get_info ( resource pxdoc )

Valores retornados

Returns an associated array with lots of information about a paradox file. This array is likely to extend in the future.

fileversion

Version of file multiplied by 10.

tablename

Name of table as stored in the file.

numrecords

Number of records in this table.

numfields

Number of fields in this table.

headersize

Number of bytes used for the header. This is usually 0x800.

maxtablesize

This value multiplied by 0x400 is the size of a data block in bytes.

numdatablocks

The number of data blocks in the file. Each data block contains a certain number of records which depends on the record size and the data block size (maxtablesize). Data blocks may not necessarily be completely filled.

numindexfields

Number of fields used for the primary index. The fields do always start as field number 1.

codepage

The DOS codepage which was used for encoding fields with character data. If the target encoding is not set with px_set_targetencoding() this will be the encoding for character fields when records are being accessed with px_get_record().

Ver tambiƩn

px_numfields()
px_numrecords()

Hosting by: hurra.com
Generated: 2007-01-26 18:00:49