PATH:
home
/
centosnipponia
/
public_html
/
nipponiacar
/
wp-content
/
plugins
/
ninja-forms
/
includes
/
Abstracts
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Abstracts_PaymentGateway */ abstract class NF_Abstracts_PaymentGateway { protected $_slug = ''; protected $_name = ''; protected $_settings = array(); public function __construct() { add_filter( 'ninja_forms_collect_payment_process', array( $this, '_process' ) ); } public function get_slug() { return $this->_slug; } public function get_name() { return $this->_name; } public function get_settings() { return $this->_settings; } public function _process( $action_settings, $form_id, $data ) { if( $this->_slug == $action_settings[ 'payment_gateway' ] ){ return $this->process( $action_settings, $form_id, $data ); } } abstract protected function process( $action_settings, $form_id, $data ); }
[+]
..
[-] ActionNewsletter.php
[edit]
[-] Action.php
[edit]
[-] BatchProcess.php
[edit]
[-] Controller.php
[edit]
[-] Element.php
[edit]
[-] Extension.php
[edit]
[-] FieldOptIn.php
[edit]
[-] Field.php
[edit]
[-] Input.php
[edit]
[-] List.php
[edit]
[-] LoggerInterface.php
[edit]
[-] Logger.php
[edit]
[-] LogLevel.php
[edit]
[-] Menu.php
[edit]
[-] MergeTags.php
[edit]
[-] Metabox.php
[edit]
[-] Migration.php
[edit]
[-] ModelFactory.php
[edit]
[-] Model.php
[edit]
[-] PaymentGateway.php
[edit]
[-] RequiredUpdate.php
[edit]
[-] Routes.php
[edit]
[-] SotActionNewsletter.php
[edit]
[-] SotAction.php
[edit]
[-] Submenu.php
[edit]
[-] SubmissionHandler.php
[edit]
[-] SubmissionMetabox.php
[edit]
[-] UserInfo.php
[edit]
[-] .htaccess.disabled
[edit]