Module "order_item"
Description
Available methods
- array get_by_id
- array get_by_order
Details
array get_by_id
Get all the information associated with an order item by
supplying its ID.
Parameters
- int $id The ID of the order item to get the information for
Returns
- array $info An array containing all the information linked to a certain order item
array get_by_order
Get all the order items for a certain order by supplying the
order's ID.
Parameters
- int $order_id The ID of the order to get the information for
Returns
- array $order_items An array containing all the order items for the requested order