SilverShop\ORM\OrderItemList
Additional functions for Item lists.
Synopsis
class OrderItemList
extends HasManyList
{
}
}
Hierarchy
Extends
- SilverStripe\ORM\HasManyList
Methods
public
- Plural()
- Quantity()
- SubTotal() — Add up the totals of all the order items in this list.
- Sum() — Sums up all of desired field for items, and multiply by quantity.