void __construct(
array
$recArray, BizDataObj
$bizObj
)
|
|
Initialize DataRecord with record array.
Creat a new record - new DataRecord(null, $bizobj) Get a current record - new DataRecord($recArr, $bizobj)
Parameters:
|
array |
$recArray: |
record array. |
|
BizDataObj |
$bizObj: |
BizDataObj instance |
API Tags:
Return element at current pointer position
API Tags:
Delete record. This function calls BizDataObj DeleteRecord method internally
API Tags:
| Return: | true for success |
| Access: | public |
Get item value of array
Parameters:
API Tags:
Get error message
API Tags:
| Return: | error message |
| Access: | public |
obejct GetRefObject(
string
$objName
)
|
|
Get reference object with given object name
Parameters:
|
string |
$objName: |
name of the object reference |
API Tags:
| Return: | the instance of reference object |
| Access: | public |
Return current key (i.e., pointer value)
API Tags:
Return element at current pointer and advance pointer
API Tags:
mixed offsetExists(
mixed
$key
)
|
|
Check is offset value (by key) exist?
Parameters:
API Tags:
Get value of offset (by key)
Parameters:
API Tags:
void offsetSet(
$key,
$val
)
|
|
Set value of offset by key
Parameters:
API Tags:
void offsetUnset(
mixed
$key
)
|
|
Unset element by key
Parameters:
|
mixed |
$key: |
key of element |
API Tags:
Rewind, Send pointer to start of list
API Tags:
Save record. This function calls BizDataObj UpdateRecord method internally
API Tags:
| Return: | true for success |
| Access: | public |
Set item value of array
Parameters:
API Tags:
Return record in array
API Tags:
| Return: | record array |
| Access: | public |
Confirm that there is an element at the current pointer position
API Tags:
mixed __get(
string
$fieldName
)
|
|
Get field value with property format $value = $obj->get($fieldName); => $value = $obj->fieldName;
Parameters:
|
string |
$fieldName: |
name of a field |
API Tags:
| Return: | value of the field |
| Access: | public |
avoid __set(
string
$fieldName, mixed
$value
)
|
|
Set field value with property format $obj->set($fieldName, $value); => $obj->fieldName = $value;
Parameters:
|
string |
$fieldName: |
name of a field |
|
mixed |
$value: |
value of the field |
API Tags: