Public Member Functions | |
__construct (&$xmlArr) | |
validateInput () | |
canUpdateRecord ($record=null) | |
canUpdateRecordCondition () | |
canDeleteRecord ($record=null) | |
canDeleteRecordCondition () | |
updateRecord ($recArr, $oldRecord=null) | |
updateRecords ($setValue, $condition=null) | |
newRecord () | |
insertRecord ($recArr) | |
deleteRecord ($recArr) | |
deleteRecords ($condition=null) | |
getOnAuditFields () | |
getJoinFields ($joinDataObj) | |
joinRecord ($joinDataObj, $joinName="") | |
addRecord ($recArr, &$isParentObjUpdated) | |
removeRecord ($recArr, &$isParentObjUpdated) | |
cleanCache () | |
Protected Member Functions | |
validateUniqueness () | |
generateId ($isBeforeInsert=true, $tableName=null, $idCloumnName=null) | |
processCascadeAction ($objRef, $cascadeType) | |
cascadeDelete () | |
cascadeUpdate () |
Definition at line 27 of file BizDataObj.php.
__construct | ( | &$ | xmlArr ) |
Initialize BizDataObj_Abstract with xml array
array | $xmlArr |
Reimplemented from BizDataObj_Abstract.
Definition at line 35 of file BizDataObj.php.
addRecord | ( | $ | recArr, |
&$ | isParentObjUpdated | ||
) |
Add a new record to current record set
array | $recArr | |
boolean | $isParentObjUpdated |
Definition at line 865 of file BizDataObj.php.
canDeleteRecord | ( | $ | record = null ) |
Check if the current record can be deleted
Definition at line 191 of file BizDataObj.php.
canUpdateRecord | ( | $ | record = null ) |
Check if the current record can be updated
Definition at line 156 of file BizDataObj.php.
cascadeDelete | ( | ) | [protected] |
Run cascade delete
Definition at line 716 of file BizDataObj.php.
cascadeUpdate | ( | ) | [protected] |
Run cascade update
Definition at line 727 of file BizDataObj.php.
cleanCache | ( | ) |
Clean chache
BizSystem $g_BizSystem
Definition at line 892 of file BizDataObj.php.
deleteRecord | ( | $ | recArr ) |
Delete current record or delete the given input record
array | $recArr | - associated array whose keys are field names of this BizDataObj |
Reimplemented from BizDataObj_Lite.
Definition at line 525 of file BizDataObj.php.
generateId | ( | $ | isBeforeInsert = true , |
$ | tableName = null , |
||
$ | idCloumnName = null |
||
) | [protected] |
Generate Id according to the IdGeneration attribute
boolean | $isBeforeInsert | |
string | $tableName | |
string | $idCloumnName |
Definition at line 408 of file BizDataObj.php.
getJoinFields | ( | $ | joinDataObj ) |
Get all fields that belong to the same join of the input field
BizDataObj | $joinDataObj | the join data object |
Definition at line 777 of file BizDataObj.php.
getOnAuditFields | ( | ) |
Get auditable fields
Definition at line 739 of file BizDataObj.php.
insertRecord | ( | $ | recArr ) |
Insert record using given input record array
array | $recArr | - associated array whose keys are field names of this BizDataObj |
Reimplemented from BizDataObj_Lite.
Definition at line 451 of file BizDataObj.php.
joinRecord | ( | $ | joinDataObj, |
$ | joinName = "" |
||
) |
Pick the joined object's current record to the current record
BizDataObj | $joinDataObj | |
string | $joinName | name of join (optional) |
Definition at line 820 of file BizDataObj.php.
newRecord | ( | ) |
Create an empty new record
Reimplemented from BizDataObj_Lite.
Definition at line 380 of file BizDataObj.php.
removeRecord | ( | $ | recArr, |
&$ | isParentObjUpdated | ||
) |
Remove a record from current record set of current association relationship
array | $recArr | |
boolean | &$isParentObjUpdated |
Definition at line 881 of file BizDataObj.php.
updateRecord | ( | $ | recArr, |
$ | oldRecord = null |
||
) |
Update record using given input record array
array | $recArr | - associated array whose keys are field names of this BizDataObj |
array | $oldRecord | - associated array who is the old record field name / value pairs |
Reimplemented from BizDataObj_Lite.
Definition at line 227 of file BizDataObj.php.
validateInput | ( | ) |
Validate user input data and trigger error message and adjust BizField if invalid.
Reimplemented from BizDataObj_Lite.
Definition at line 46 of file BizDataObj.php.
validateUniqueness | ( | ) | [protected] |
Validate uniqueness Uniqueness = "fld1,fld2;fld3,fld4;..."
Definition at line 107 of file BizDataObj.php.