Class SessionCart
Shopping cart session wrapper
Package: blesta\components\session\cart
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/session_cart/session_cart.php
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/session_cart/session_cart.php
Methods summary
public
|
|
public
|
#
setCallback( string $action, callable $callback )
Sets a callback to be invoked when the given $method is called. |
public
array
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
#
removeItems( array $indexes, mixed $remove_renewing_seats = false )
Removes a set of items from the cart |
public
|
|
public
boolean
|
|
public
|
|
public
mixed
|
|
private
|
Magic methods summary
Properties summary
private
string
|
$cart_name |
#
The name of the cart to use in the session |
private
array
|
$callbacks |
#
An array of callbacks in key/value pairs where each key is the name of the method to invoke the callback on |