public function getJoinSearchRule($tableJoin, $isUseOldValue = false)
    {
        $joinFieldName = $this->getFieldByColumn($tableJoin->columnRef, $tableJoin->table);
        $joinField = $this->varValue[$joinFieldName];
        $rhs = $isUseOldValue ? $joinField->oldValue : $joinField->value;
        $retStr = $tableJoin->column . "='" . $rhs . "'";
        return $retStr;
    }
public function getJoinSearchRule($tableJoin, $isUseOldValue = false)
    {
        $joinFieldName = $this->getFieldByColumn($tableJoin->columnRef, $tableJoin->table);
        $joinField = $this->varValue[$joinFieldName];
        $rhs = $isUseOldValue ? $joinField->oldValue : $joinField->value;
        $retStr = $tableJoin->column . "='" . $rhs . "'";
        return $retStr;
    }
public function getJoinSearchRule ( $ tableJoin , $ isUseOldValue = false ) { $ joinFieldName = $ this -> getFieldByColumn ( $ tableJoin -> columnRef , $ tableJoin -> table ) ; $ joinField = $ this -> varValue [ $ joinFieldName ] ; $ rhs = $ isUseOldValue ? $ joinField -> oldValue : $ joinField -> value ; $ retStr = $ tableJoin -> column . "='" . $ rhs . "'" ; return $ retStr ; }
Get join search rule

NOTE: Added by Jixian on 2009-02-16 for implement onSaveDataObj

@param TableJoin $tableJoin
@param boolean $isUseOldValue
@return string
Get join search rule