phpDocumentor Cart
Classes
[ class tree: Cart ] [ index: Cart ] [ all elements ]

Class: CartPluginInterface_1_1

Source Location: /modules/cart/classes/CartPluginInterface_1_1.class

Class CartPluginInterface_1_1

Class Overview

This is an interface for plugins to the Cart module. Modules that wish to be able to do fulfillment on items in the cart (like eCommerce, photo printing, zip download, etc) must provide a class that implements this interface.

Located in /modules/cart/classes/CartPluginInterface_1_1.class [line 43]

CartPluginInterface_1_0
   |
   --CartPluginInterface_1_1
Author(s):
API Tags:
Abstract:  

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From CartPluginInterface_1_0

CartPluginInterface_1_0::fulfillCart()
Do whatever magic this plugin wants to do with the cart
CartPluginInterface_1_0::getActionDisplayName()
Get the localized name of the action (eg. "Print with Shutterfly") to show to users.
CartPluginInterface_1_0::getSupportedItemTypes()
Return the item types that this cart plugin can fulfill, e.g.

[ Top ]
Method Summary
array   getRequiredPermissions()   Return the permission ids required to fulfill the cart action, e.g.

[ Top ]
Methods
getRequiredPermissions  [line 51]

  array getRequiredPermissions( )

Return the permission ids required to fulfill the cart action, e.g.

array('someprintmodule.print').


API Tags:
Return:  permission ids

Information Tags:
Since:  1.1

Redefined in descendants as:

[ Top ]

Documentation generated on Fri, 03 Oct 2008 04:46:33 -0700 by phpDocumentor 1.3.0RC6