Method | Description | |
---|---|---|
__construct ( ) | ||
add ( |
Add new product to basket | |
count ( ) : integer |
(PHP 5 >= 5.1.0) Count elements of an object |
|
current ( ) : mixed |
(PHP 5 >= 5.0.0) Return the current element |
|
getTotalPrice ( ) : double | Return Total Price of Basket | |
key ( ) : mixed |
(PHP 5 >= 5.0.0) Return the key of the current element |
|
next ( ) : void |
(PHP 5 >= 5.0.0) Move forward to next element |
|
remove ( string $code ) | Remove product from basket with code | |
rewind ( ) : void |
(PHP 5 >= 5.0.0) Rewind the Iterator to the first element |
|
valid ( ) : boolean |
(PHP 5 >= 5.0.0) Checks if current position is valid |
public getTotalPrice ( ) : double | ||
return | double |