This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/cart/classes/Cartable.php
2013-02-03 09:04:49 +11:00

20 lines
500 B
PHP

<?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();
}
?>