Function Module_shopping->show_cart_entry

Definitions

site/pages/modules/shopping.php

  • Produce a results table row for a particular shopping cart entry.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
&$shopping_cart Tempcode Yes No required parameter N/A N/A Tempcode object of shopping cart result table
$details array No No required parameter N/A N/A Product details
$item array No No required parameter N/A N/A Cart row
$tax_details ?array No No Null N/A N/A Tax details (null: none known, look them up)

Preview

Code (PHP)

/**
 * Produce a results table row for a particular shopping cart entry.
 *
 * @param  Tempcode $shopping_cart Tempcode object of shopping cart result table
 * @param  array $details Product details
 * @param  array $item Cart row
 * @param  ?array $tax_details Tax details (null: none known, look them up)
 */

protected function show_cart_entry(object &$shopping_cart, array $details, array $item, ?array $tax_details = null)