FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Dbase_Table Class Reference

DBase table. More...

Public Member Functions

 create_table ($columns, $records)
 read_table ($filename)

Public Attributes

const ENC_UTF = 'UTF-8'
const ENC_CP852 = 'CP852'

Protected Member Functions

 read_header ()
 create_header ()
 read_records ()
 write_records ()
 get_file_contents ()
 my_check_date ($date)
 write_number ($number, $length, $precision)
 write_string ($string, $length)
 write_bytes ($b)
 write_n_bytes ($b, $n=1)
 write_date ($tstamp)
 write_date_long ($date)
 write_short ($short)
 write_int ($int)
 write_char ($char)
 read_bytes ($length=1)
 read_char ()
 read_short ()
 read_int ()
 read_string ($length)
 read_column_name ()
 read_date ()
 read_date_long ()

Protected Attributes

 $file
 $filesize
 $filename
 $columns
 $records
 $num_rows
 $b_header
 $b_record
 $version
 $last_update
 $mdx_flag
 $lang_id
 $num_col

Detailed Description

DBase table.

Author
Jan Dubina

The documentation for this class was generated from the following file: