PATH:
home
/
letacommog
/
letaweb
/
admin
/
classes
/
payments
/
paypal-sdk-core
/
lib
<?php 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 self(); } return self::$instance; } /** * This function returns a new PPHttpConnection object. */ public function getConnection($httpConfig, $config) { if (isset($config['http.ConnectionTimeOut'])) { $httpConfig->setHttpTimeout($config['http.ConnectionTimeOut']); } 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); } }
[+]
..
[-] PPHttpConfig.php
[edit]
[-] PPConnectionManager.php
[edit]
[-] PPLoggingManager.php
[edit]
[-] PPUtils.php
[edit]
[+]
exceptions
[+]
ipn
[-] PPAPIService.php
[edit]
[-] PPConfigManager.php
[edit]
[+]
common
[+]
handlers
[-] PPMessage.php
[edit]
[-] cacert.pem
[edit]
[-] PPBaseService.php
[edit]
[-] PPXmlMessage.php
[edit]
[+]
auth
[-] PPLoggingLevel.php
[edit]
[-] PPRequest.php
[edit]
[+]
formatters
[-] PPHttpConnection.php
[edit]
[-] PPCredentialManager.php
[edit]
[-] PPConstants.php
[edit]
[-] PPXmlFaultMessage.php
[edit]
[+]
transport