|
currency.inc.php - Think Currency Functions
|
nextForm
Required Parameters: None
Optional Parameters: bool $checkDependency
Returns: None
Description: This function determines the next form to be displayed based on the contents of the user's shopping cart. Some line items do not require any configuration, while others have multi-page forms that need to be completed before they can be processed. Still others are dependent on certain line items already being in the shopping cart. If the $checkDependency variable is TRUE, the next incomplete dependency form will be displayed; otherwise, dependencies are ignored. Once a line item is done being configured, the function marks it complete with the $_SESSION['cart'][$lineItem][$unit]['complete'] variable.
function nextForm($checkDependency = TRUE)
|