Class account_gateway.
More...
|
static | $fieldstoremove = ['accountname', 'gatewayname', 'submitbutton'] |
|
static string | $persistentclass = core_payment\account_gateway::class |
| The persistent class.
|
|
Class account_gateway.
- Copyright
- 2020 Marina Glancy
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ extra_validation()
core_payment\form\account_gateway::extra_validation |
( |
| $data, |
|
|
| $files, |
|
|
array & | $errors ) |
|
protected |
Form validation.
- Parameters
-
stdClass | $data | |
array | $files | |
array | $errors | |
◆ filter_data_for_persistent()
core_payment\form\account_gateway::filter_data_for_persistent |
( |
| $data | ) |
|
|
protected |
Filter out the foreign fields of the persistent.
This can be overridden to filter out more complex fields.
- Parameters
-
stdClass | $data | The data to filter the fields out of. |
- Return values
-
◆ get_data()
core_payment\form\account_gateway::get_data |
( |
| ) |
|
Overwrite parent method to json encode config.
- Return values
-
- Exceptions
-
◆ get_gateway_persistent()
core_payment\form\account_gateway::get_gateway_persistent |
( |
| ) |
|
◆ get_mform()
core_payment\form\account_gateway::get_mform |
( |
| ) |
|
◆ set_data()
core_payment\form\account_gateway::set_data |
( |
| $values | ) |
|
Overwrite parent method to json decode config.
- Parameters
-
The documentation for this class was generated from the following file:
- payment/classes/form/account_gateway.php