Cart work for payments and Paypal work to test
This commit is contained in:
19
modules/cart/classes/Cartable.php
Normal file
19
modules/cart/classes/Cartable.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* This interface ensures that all cart processing objects have the right methods
|
||||
*
|
||||
* @package OSB
|
||||
* @subpackage Cart
|
||||
* @category Helpers
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 Deon George
|
||||
* @license http://dev.leenooks.net/license.html
|
||||
*/
|
||||
interface Cartable {
|
||||
// Render a cart line item.
|
||||
public function cart_item();
|
||||
// Return if this invoice is already in the cart
|
||||
public function cart_exists();
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user