Wholesale_Customer
Controller to manage wholesale customer operations
Tags
Table of Contents
- __construct() : mixed
- Constructor.
- approve() : mixed
- Approve a customer if they are pending
- reject() : mixed
- Reject a customer if they are pending
- regenerate_password() : string
- Regenerate the password after approval
Methods
__construct()
Constructor.
public
__construct(int $id) : mixed
Parameters
- $id : int
Tags
Return values
mixed —approve()
Approve a customer if they are pending
public
approve() : mixed
Tags
Return values
mixed —reject()
Reject a customer if they are pending
public
reject() : mixed
Tags
Return values
mixed —regenerate_password()
Regenerate the password after approval
private
regenerate_password() : string
Tags
Return values
string —$password