You are here

public function CommerceCartProviderInterface::cartOrderIds in Commerce Core 7

Returns an array of cart order IDs stored.

Parameters

$completed: Boolean indicating whether or not the operation should retrieve the completed orders array instead of the active cart orders array.

Return value

An array of applicable cart order IDs or an empty array if none exist.

1 method overrides CommerceCartProviderInterface::cartOrderIds()
CommerceCartProviderSession::cartOrderIds in modules/cart/plugins/cart_provider/CommerceCartProviderSession.class.php
Returns an array of cart order IDs stored.

File

modules/cart/plugins/cart_provider/interface.inc, line 45
Interface for cart providers.

Class

CommerceCartProviderInterface
@file Interface for cart providers.

Code

public function cartOrderIds($completed = FALSE);