OrderItem::Match
Match this item to another object in the Database, by the provided details.
Signature
public function Match([string
$relation_name = "Product",
[string
$relation_col = "StockID",
[string
$match_col = "StockID"]]] )
Parameters
$relation_name
— string- The class name of the related dataobject
$relation_col
— string- The column name of the related object
$match_col
— string- The column we use to match the two objects
Returns
- DataObject