/** * Constructor * * @param PostmanOptions $options */ function __construct() { $this->options = PostmanOptions::getInstance(); $this->authorizationToken = PostmanOAuthToken::getInstance(); $this->diagnostics = ''; PostmanUtils::registerAjaxHandler('postman_diagnostics', $this, 'getDiagnostics'); }
/** * Constructor * * @param PostmanOptions $options */ function __construct(PostmanOptions $options) { parent::__construct(); $this->options = $options; PostmanUtils::registerAjaxHandler('import_configuration', $this, 'getConfigurationFromExternalPluginViaAjax'); }
/** * Constructor * * @param PostmanOptions $options */ function __construct() { $this->logger = new PostmanLogger(get_class($this)); PostmanUtils::registerAjaxHandler('postman_get_hosts_to_test', $this, 'getPortsToTestViaAjax'); PostmanUtils::registerAjaxHandler('postman_wizard_port_test', $this, 'runSmtpTest'); PostmanUtils::registerAjaxHandler('postman_wizard_port_test_smtps', $this, 'runSmtpsTest'); PostmanUtils::registerAjaxHandler('postman_port_quiz_test', $this, 'runPortQuizTest'); PostmanUtils::registerAjaxHandler('postman_test_port', $this, 'runSmtpTest'); PostmanUtils::registerAjaxHandler('postman_test_smtps', $this, 'runSmtpsTest'); }
/** * Constructor * * @param PostmanOptions $options * @param PostmanOAuthToken $authorizationToken * @param PostmanConfigTextHelper $oauthScribe */ function __construct() { parent::__construct(); PostmanUtils::registerAjaxHandler('postman_send_test_email', $this, 'sendTestEmailViaAjax'); }