Function Hook_ecommerce_gambling->member_for
Definitions
sources/hooks/systems/ecommerce/gambling.php
- Get the member who made the purchase.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$type_code | ID_TEXT | required parameter | N/A | N/A | The product codename |
$purchase_id | ID_TEXT | required parameter | N/A | N/A | The purchase ID |
Return
- The member ID (null: none)
- Type: ?MEMBER
- Set: N/A
- Range: N/A