phpDocumentor

SharedShoppingCartDeleter
in package
implements SharedShoppingCartDeleterInterface

Class SharedShoppingCartDeleter

Tags
category

System

Interfaces, Classes and Traits

SharedShoppingCartDeleterInterface
Interface SharedShoppingCartDeleterInterface

Table of Contents

$db  : CI_DB_query_builder
__construct()  : mixed
Constructor
deleteShoppingCartsByCustomerId()  : mixed
Deletes all shared shopping carts by a given customer ID.
deleteShoppingCartsOlderThan()  : mixed
Deletes all shared shopping carts that are expired

Properties

Methods

__construct()

Constructor

public __construct(CI_DB_query_builder $db) : mixed
Parameters
$db : CI_DB_query_builder
Return values
mixed

deleteShoppingCartsByCustomerId()

Deletes all shared shopping carts by a given customer ID.

public deleteShoppingCartsByCustomerId(IdType $customerId) : mixed
Parameters
$customerId : IdType
Return values
mixed

deleteShoppingCartsOlderThan()

Deletes all shared shopping carts that are expired

public deleteShoppingCartsOlderThan(DateTime $expirationDate) : mixed
Parameters
$expirationDate : DateTime

All shared shopping carts older than that date are expired

Tags
override
Return values
mixed

Search results