Registration_Handler
Handles user registration requests and form submissions for account creation.
- Full name:
\BigCommerce\Forms\Registration_Handler
- This class implements:
\BigCommerce\Forms\Form_Handler
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
ACTION | public | string | ’register-account’ |
Methods
__construct
Constructor for the Registration_Handler class.
public __construct(\BigCommerce\Compatibility\Spam_Checker $spam_checker, \BigCommerce\Accounts\Login $login): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$spam_checker | \BigCommerce\Compatibility\Spam_Checker | Instance for checking spam submissions. |
$login | \BigCommerce\Accounts\Login | Instance for handling user login. |
handle_request
Handles form submission for user registration.
public handle_request(array $submission): void
Parameters:
Parameter | Type | Description |
---|---|---|
$submission | array | The form submission data. |
Automatically generated on 2025-01-21