From edff34b548db49e94db2b6548adc95cc6001dcf5 Mon Sep 17 00:00:00 2001 From: yehudah Date: Sun, 15 Oct 2017 06:46:12 +0000 Subject: release git-svn-id: https://plugins.svn.wordpress.org/post-smtp/trunk@1746635 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- .../PostmanManageConfigurationAjaxHandler.php | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php (limited to 'Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php') diff --git a/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php b/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php new file mode 100644 index 0000000..2c05b3a --- /dev/null +++ b/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php @@ -0,0 +1,55 @@ +hostname = $queryHostData ['hostname']; + $this->hostnameDomainOnly = $queryHostData ['hostname_domain_only']; + $this->port = $queryHostData ['port']; + $this->protocol = $queryHostData ['protocol']; + $this->secure = PostmanUtils::parseBoolean ( $queryHostData ['secure'] ); + $this->mitm = PostmanUtils::parseBoolean ( $queryHostData ['mitm'] ); + $this->reportedHostname = $queryHostData ['reported_hostname']; + $this->reportedHostnameDomainOnly = $queryHostData ['reported_hostname_domain_only']; + $this->message = $queryHostData ['message']; + $this->startTls = PostmanUtils::parseBoolean ( $queryHostData ['start_tls'] ); + $this->authPlain = PostmanUtils::parseBoolean ( $queryHostData ['auth_plain'] ); + $this->auth_login = PostmanUtils::parseBoolean ( $queryHostData ['auth_login'] ); + $this->auth_crammd5 = PostmanUtils::parseBoolean ( $queryHostData ['auth_crammd5'] ); + $this->auth_xoauth = PostmanUtils::parseBoolean ( $queryHostData ['auth_xoauth'] ); + $this->auth_none = PostmanUtils::parseBoolean ( $queryHostData ['auth_none'] ); + $this->try_smtps = PostmanUtils::parseBoolean ( $queryHostData ['try_smtps'] ); + $this->success = PostmanUtils::parseBoolean ( $queryHostData ['success'] ); + $this->transport = $queryHostData ['transport']; + assert ( ! empty ( $this->transport ) ); + $this->id = sprintf ( '%s_%s', $this->hostname, $this->port ); + } +} + -- cgit v1.2.3