public static function removeRecord($dataObj, $recArr, &$isParentObjUpdated)
    {
        if ($dataObj->association["Relationship"] == "M-M") {
            $isParentObjUpdated = false;
            return self::_removeRecordMtoM($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "Self-Self") {
            $isParentObjUpdated = false;
            return self::_removeRecordSelftoSelf($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "M-1" || $dataObj->association["Relationship"] == "1-1") {
            $isParentObjUpdated = true;
            return self::_removeRecordMto1($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "1-M") {
            $isParentObjUpdated = false;
            return self::_removeRecord1toM($dataObj, $recArr);
        } else {
            throw new Openbizx\Data\Exception("You cannot add a record in dataobj who doesn't have M-M or M-1 or Self-Self relationship with its parent object");
            return false;
        }
    }
public static function removeRecord($dataObj, $recArr, &$isParentObjUpdated)
    {
        if ($dataObj->association["Relationship"] == "M-M") {
            $isParentObjUpdated = false;
            return self::_removeRecordMtoM($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "Self-Self") {
            $isParentObjUpdated = false;
            return self::_removeRecordSelftoSelf($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "M-1" || $dataObj->association["Relationship"] == "1-1") {
            $isParentObjUpdated = true;
            return self::_removeRecordMto1($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "1-M") {
            $isParentObjUpdated = false;
            return self::_removeRecord1toM($dataObj, $recArr);
        } else {
            throw new Openbizx\Data\Exception("You cannot add a record in dataobj who doesn't have M-M or M-1 or Self-Self relationship with its parent object");
            return false;
        }
    }
public static function removeRecord ( $ dataObj , $ recArr , & $ isParentObjUpdated ) { if ( $ dataObj -> association [ "Relationship" ] == "M-M" ) { $ isParentObjUpdated = false ; return self :: _removeRecordMtoM ( $ dataObj , $ recArr ) ; } elseif ( $ dataObj -> association [ "Relationship" ] == "Self-Self" ) { $ isParentObjUpdated = false ; return self :: _removeRecordSelftoSelf ( $ dataObj , $ recArr ) ; } elseif ( $ dataObj -> association [ "Relationship" ] == "M-1" || $ dataObj -> association [ "Relationship" ] == "1-1" ) { $ isParentObjUpdated = true ; return self :: _removeRecordMto1 ( $ dataObj , $ recArr ) ; } elseif ( $ dataObj -> association [ "Relationship" ] == "1-M" ) { $ isParentObjUpdated = false ; return self :: _removeRecord1toM ( $ dataObj , $ recArr ) ; } else { throw new Openbizx \ Data \ Exception ( "You cannot add a record in dataobj who doesn't have M-M or M-1 or Self-Self relationship with its parent object" ) ; return false ; } }
Remove a record from current record set of current association relationship

@param BizDataObj $dataObj - the instance of BizDataObj
@param array $recArr - the record array to be removed from the data object
@param boolean &$isParentObjUpdated - flag that indicates if the parent form needs to be updated
@return boolean
Remove a record from current record set of current association relationship