phpDocumentor ecommerce
[ class tree: ecommerce ] [ index: ecommerce ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?
  2. /**
  3. * The index.php.
  4. * The main entry for a browser request
  5. *
  6. * @package ecommerce
  7. * @filesource
  8. * @see index.php
  9. * @copyright (c) http://Finn-Rasmussen.com
  10. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  11. * @author http://Finn-Rasmussen.com
  12. * @version 1.9
  13. * @since 21-oct-2005
  14. */
  15.  
  16. /**
  17. * The required files
  18. */
  19. require_once($_SERVER['DOCUMENT_ROOT'].'/initialize.php');
  20.  
  21. require_once(HTML_ECOMMERCE_COMPONENT_PATH.'/Tax.php');
  22. Tax::display(650,25);
  23. print "<br />\r\nrate => getTaxRate: ".Tax::rate(20);
  24. print "<br />\r\ntext => getText: ".Tax::text(20);
  25. print "<br />\r\nget => getTax: ".Tax::get(650,25);
  26.  
  27. require_once(HTML_ECOMMERCE_COMPONENT_PATH.'/Shipping.php');
  28. print "<br />\r\n";
  29. Shipping::display(650,5);
  30. print "<br />\r\nrate => getShippingRate: ".Shipping::rate(20);
  31. print "<br />\r\ntext => getText: ".Shipping::text(20);
  32. print "<br />\r\nget => getShipping: ".Shipping::get(650,25);
  33. ?>

Documentation generated on Thu, 22 Dec 2005 17:10:47 +0100 by phpDocumentor 1.3.0RC3