Function Hook_ecommerce_tax->get_products
Definitions
sources/hooks/systems/ecommerce/tax.php
- Get the products handled by this eCommerce hook.IMPORTANT NOTE TO PROGRAMMERS: This function may depend only on the database, and not on get_member() or any GET/POST values.Such dependencies will break IPN, which works via a Guest and no dependable environment variables. It would also break manual transactions from the Admin Zone.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$search | ?ID_TEXT | Null | N/A | N/A | Product being searched for (passed by reference as it may be modified for special cases) (null: none) |
Return
- A map of product name to list of product details
- Type: array
- Set: N/A
- Range: N/A