Class Module_shopping

Description

Module page class.

Located in /site/pages/modules/shopping.php (line 24)


	
			
Method Summary
tempcode add_item_to_cart ()
tempcode empty_cart ()
tempcode finish ()
?array get_entry_points ()
?array info ()
void install ([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
tempcode my_orders ()
tempcode order_det ()
tempcode run ()
void uninstall ()
tempcode update_cart ()
tempcode view_shopping_cart ()
tempcode wrap (tempcode $content, tempcode $title, ?mixed $url, [boolean $get = false])
Methods
add_item_to_cart (line 355)

Function to add item to cart.

  • return: The UI
tempcode add_item_to_cart ()
empty_cart (line 435)

Function to empty shopping cart

  • return: The UI
tempcode empty_cart ()
finish (line 470)

Finish step.

  • return: The result of execution.
tempcode finish ()
get_entry_points (line 181)

Standard modular entry-point finder function.

  • return: A map of entry points (type-code=>language-code) (NULL: disabled).
?array get_entry_points ()
info (line 32)

Standard modular info function.

  • return: Map of module info (NULL: module is disabled).
?array info ()
install (line 73)

Standard modular install function.

void install ([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
  • ?integer $upgrade_from: What version we're upgrading from (NULL: new install)
  • ?integer $upgrade_from_hack: What hack version we're upgrading from (NULL: new-install/not-upgrading-from-a-hacked-version)
my_orders (line 568)

Show all my orders

  • return: The interface.
tempcode my_orders ()
order_det (line 614)

Show an order details

  • return: The interface.
tempcode order_det ()
run (line 191)

Standard modular run function.

  • return: The result of execution.
tempcode run ()
uninstall (line 48)

Standard modular uninstall function.

void uninstall ()
update_cart (line 377)

Function to Update cart

  • return: The UI
tempcode update_cart ()
view_shopping_cart (line 227)

The UI to show shopping cart

  • return: The UI
tempcode view_shopping_cart ()
wrap (line 457)

Wrap-up so as to remove redundancy in templates.

  • return: Wrapped.
tempcode wrap (tempcode $content, tempcode $title, ?mixed $url, [boolean $get = false])
  • tempcode $content: To wrap.
  • tempcode $title: The title to use.
  • ?mixed $url: URL (NULL: no next URL).
  • boolean $get: Whether it is a GET form

Documentation generated on Sun, 02 Jan 2011 23:24:35 +0000 by phpDocumentor 1.4.3