YANA 4 PHP Framework
Docs For Class DatFile
This class is an alternative to csv files.
Each line represents a row of data. Tags are used to mark up the fields.
The use of tag delimiters inside field values is not allowed. If a tag is found in a value it automatically gets removed.
The structure is not as strict as you might know from CSV files, which means the number and names of fields inside a row may vary from one row to another.
This provides you with more flexibility. For example: You may decide not to use a field for future entries or just add a new one and you don't have to change your previous entries inside the file.
This is also a good way around if you just don't know the structure of future entries yet.
Located in /includes/class_datfile.php
Object | --InputStream | --SecureInputStream | --SecureFileStream | --DatFile
Name | Type | Description |
---|---|---|
$line_nr | int | line to retrieve |
Redefinition of: SecureInputStream::get()
Name | Type | Description |
---|---|---|
$new_entry | array | a ssociative array containing the new entry |
$REF |
Redefinition of: SecureFileStream::insert()
Redefinition of: SecureFileStream::length()
Name | Type | Description |
---|---|---|
$line_nr | array | line to retrieve |
Redefinition of: SecureFileStream::remove()
Redefinition of: SecureInputStream::toString()
Inherited From SecureFileStream
Inherited From SecureInputStream
Inherited From InputStream
Inherited From Object
Documentation generated on Sun, 11 Mar 2007 15:02:25 +0100 by phpDocumentor 1.3.1