PHP マニュアル
前のページ |  | 次のページ

# px_get_info

(PECL)

px_get_info -- Return lots of information about a paradox file

## 説明

array px_get_info ( resource pxdoc )

## 返り値

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().

## 参考

px_numfields()
px_numrecords()

前のページ | ホーム | 次のページ
px_get_field | 上に戻る | px_get_parameter