void add(
String
$key, Object
$value, [String
$name = DATA_READER_ROWS]
)
|
|
Add a row
Parameters:
|
String |
$key: |
The key to use in the array |
|
String |
$name: |
The name to use in the class |
|
Object |
$value: |
The value to add to array |
void addFieldFlags(
mixed
$key, mixed
$value
)
|
|
void addFieldLen(
mixed
$key, mixed
$value
)
|
|
void addFieldName(
String
$key, String
$value
)
|
|
Add the FieldName, FieldLen, FieldType, FieldFlags, FieldTable
Parameters:
|
String |
$key: |
The key |
|
String |
$value: |
The value to add |
void addFieldTable(
mixed
$key, mixed
$value
)
|
|
void addFieldType(
mixed
$key, mixed
$value
)
|
|
void error(
String
$msg, String
$file, String
$line
)
|
|
Print or log error messages
Parameters:
|
String |
$msg: |
The message |
|
String |
$file: |
The file name |
|
String |
$line: |
The line number |
String get(
String
$key, [String
$index = ''], [String
$default = '']
)
|
|
Get the complete html for a key
Display an error message and exit, If not a known attribute i.e. You MUST define the 'key' at class scope as ... var $mykey='';
Parameters:
|
String |
$key: |
The value to return |
|
String |
$index: |
The index to use, if an array |
|
String |
$default: |
The default value to use if no match |
API Tags:
| Return: | the html for the attribute (key) |
Returns the name of the instanciated class
API Tags:
| Return: | The name of the class |
void getFieldFlags(
[mixed
$index = '']
)
|
|
void getFieldLen(
[mixed
$index = '']
)
|
|
void getFieldName(
[int
$index = '']
)
|
|
Get the FieldName, FieldLen, FieldType, FieldFlags, FieldTable
Parameters:
|
int |
$index: |
The index to get |
void getFieldTable(
[mixed
$index = '']
)
|
|
void getFieldType(
[mixed
$index = '']
)
|
|
array getRows(
[int
$index = '']
)
|
|
Return the array of rows
Parameters:
|
int |
$index: |
The index to use |
API Tags:
| Return: | The array of rows |
void set(
String
$key, String
$value
)
|
|
Set the named attribute (key) of a class to specified value
Display an error message and exit, If not a known attribute i.e. You MUST define the attribute at class scope as ... var $myattr='';
Parameters:
|
String |
$key: |
The key to set |
|
String |
$value: |
The value of the key |
void setNumFields(
mixed
$value
)
|
|
void setNumRows(
mixed
$value
)
|
|
void setRc(
mixed
$value
)
|
|