constant ALL_ROLES in Ubercart Discounts (Alternative) 6.2
4 uses of ALL_ROLES
- get_codeless_discounts_for_product_and_quantity in uc_discounts/
uc_discounts.module - Returns all codeless discounts for product when specified quantity is purchased.
- get_discounts_for_order in uc_discounts/
uc_discounts.module - Returns discounts for order. Note: $order->uc_discounts_codes must be set
- get_role_ids_for_discount in uc_discounts/
uc_discounts.module - Returns role_ids for discount.
- uc_discounts_form_submit in uc_discounts/
uc_discounts.admin.inc - Submit handler for uc_discounts_form().
File
- uc_discounts/
uc_discounts.module, line 36
Code
define("ALL_ROLES", "-1");