contents([$newest_first = FALSE])
Parameters: |
|
---|---|
Returns: |
An array of cart contents |
Return type: |
array |
Returns an array containing everything in the cart. You can sort the order by which the array is returned by passing it TRUE where the contents will be sorted from newest to oldest, otherwise it is sorted from oldest to newest.
Please login to continue.