Items
The individual item lines within each sale.
Methods
Invoke via \Components\Commerce\Sales\Items::method()
Click a method name to copy it.
Deletes a record from the database
Parameters
$iSaleItemId
int unsigned
A record's sale_item_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$iSaleItemId
int unsigned
A record's sale_item_id
Return a set of records from the database
Returns all items for a particular sale
Gets a single field from a record
Parameters
$iSaleItemId
int unsigned
A record's sale_item_id
Returns the number of records in the database (matching the filter if specified)
Returns total sales, grouped by currency
Saves a record into the database
Saves a new set of sales items for a sale
Saves a specific column of a row into a database
Parameters
$iSaleItemId
int unsigned
A record's sale_item_id
Return
Array of
Items that match the search query.