Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 230) sorted by relevance

12345678910

/plugin/fedauth/Auth/OpenID/
H A DMDB2Store.php52 * @param connection $connection This must be an established
65 function Auth_OpenID_MDB2Store($connection, argument
74 if (!is_object($connection) ||
82 $this->connection = $connection;
125 switch ($this->connection->phptype) {
130 $r = $this->connection->exec(
195 switch ($this->connection->phptype) {
306 return $this->connection->exec(
313 return $this->connection->exec(
359 $r = $this->connection->execParam(
[all …]
H A DSQLStore.php64 * @param connection $connection This must be an established
87 if (!(is_object($connection) &&
89 is_subclass_of($connection,
97 $this->connection = $connection;
345 $this->connection->commit();
347 $this->connection->rollback();
389 $this->connection->commit();
391 $this->connection->rollback();
463 $this->connection->commit();
543 $this->connection->commit();
[all …]
H A DMemcachedStore.php46 $this->connection = $connection;
64 $serverAssociations = $this->connection->get($serverKey);
74 $this->connection->set(
80 $this->connection->set(
96 $association = $this->connection->get(
106 $serverAssociations = $this->connection->get($serverKey);
118 $association = $this->connection->get($lastKey);
134 $serverAssociations = $this->connection->get($serverKey);
151 $this->connection->set(
158 return $this->connection->delete($associationKey);
[all …]
/plugin/openid/Auth/OpenID/
H A DMDB2Store.php52 * @param connection $connection This must be an established
65 function __construct($connection, argument
74 if (!is_object($connection) ||
82 $this->connection = $connection;
125 switch ($this->connection->phptype) {
130 $r = $this->connection->exec(
195 switch ($this->connection->phptype) {
306 return $this->connection->exec(
313 return $this->connection->exec(
359 $r = $this->connection->execParam(
[all …]
H A DSQLStore.php66 protected $connection; variable in Auth_OpenID_SQLStore
100 if (!(is_object($connection) &&
102 is_subclass_of($connection,
110 $this->connection = $connection;
369 $this->connection->commit();
371 $this->connection->rollback();
418 $this->connection->commit();
420 $this->connection->rollback();
498 $this->connection->commit();
582 $this->connection->commit();
[all …]
H A DMemcachedStore.php41 private $connection; variable in Auth_OpenID_MemcachedStore
47 * @param Memcache $connection Memcache connection resource
50 function __construct($connection, $compress = false) argument
52 $this->connection = $connection;
83 $this->connection->set(
89 $this->connection->set(
109 $association = $this->connection->get(
131 $association = $this->connection->get($lastKey);
168 $this->connection->set(
175 return $this->connection->delete($associationKey);
[all …]
/plugin/swiftmail/Swift/Authenticator/
H A D@PopB4Smtp.php23 protected $connection = null; variable in Swift_Authenticator_PopB4Smtp
32 if (is_object($conn)) $this->connection = $conn;
56 $this->connection->start();
57 $this->connection->assertOk($this->connection->read());
58 $this->connection->write("USER " . $user);
59 $this->connection->assertOk($this->connection->read());
60 $this->connection->write("PASS " . $pass);
61 $this->connection->assertOk($this->connection->read());
62 $this->connection->write("QUIT");
63 $this->connection->assertOk($this->connection->read());
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/
H A DStaticConnectionPool.php55 * @var Connection $connection
57 $connection = $this->selector->select($this->connections);
58 if ($connection->isAlive() === true) {
59 return $connection;
62 if ($this->readyToRevive($connection) === true) {
63 if ($connection->ping() === true) {
64 return $connection;
67 $skipped[] = $connection;
72 foreach ($skipped as $connection) {
73 if ($connection
88 readyToRevive(Connection $connection) global() argument
[all...]
H A DSniffingConnectionPool.php58 * @var Connection $connection
60 $connection = $this->selector->select($this->connections);
61 if ($connection->isAlive() === true || $connection->ping() === true) {
62 return $connection;
88 * @var Connection $connection
90 $connection = $this->selector->select($this->connections);
92 if ($connection->isAlive() xor $force) {
96 if ($this->sniffConnection($connection) === true) {
105 foreach ($this->seedConnections as $connection) {
112 sniffConnection(Connection $connection) global() argument
[all...]
H A DStaticNoPingConnectionPool.php52 * @var Connection $connection
54 $connection = $this->selector->select($this->connections);
55 if ($connection->isAlive() === true) {
56 return $connection;
59 if ($this->readyToRevive($connection) === true) {
60 return $connection;
71 private function readyToRevive(Connection $connection): bool argument
74 $this->pingTimeout * pow(2, $connection->getPingFailures()),
78 if ($connection->getLastPing() + $timeout < time()) {
/plugin/elasticsearch/vendor/ruflin/elastica/src/Transport/
H A DGuzzle.php52 $connection = $this->getConnection();
54 $client = $this->_getGuzzleClient($connection->isPersistent());
57 'base_uri' => $this->_getBaseUrl($connection),
64 if ($connection->getTimeout()) {
65 $options[RequestOptions::TIMEOUT] = $connection->getTimeout();
68 if (null !== $proxy = $connection->getProxy()) {
72 $req = $this->_createPsr7Request($request, $connection);
85 if ($connection->hasConfig('bigintConversion')) {
86 $response->setJsonBigintConversion($connection->getConfig('bigintConversion'));
110 protected function _createPsr7Request(Request $request, Connection $connection) argument
154 _getBaseUrl(Connection $connection) global() argument
[all...]
H A DAwsAuthV4.php32 protected function _getBaseUrl(Connection $connection): string argument
36 return parent::_getBaseUrl($connection);
75 $connection = $this->getConnection(); variable in Elastica\\Transport\\AwsAuthV4
77 if ($connection->hasParam('aws_credential_provider')) {
78 return $connection->getParam('aws_credential_provider');
81 if ($connection->hasParam('aws_secret_access_key')) {
83 $connection->getParam('aws_access_key_id'),
84 $connection->getParam('aws_secret_access_key'),
85 $connection->hasParam('aws_session_token')
86 ? $connection
[all...]
H A DHttp.php50 $connection = $this->getConnection();
52 $conn = $this->_getConnection($connection->isPersistent());
55 $url = $connection->hasConfig('url') ? $connection->getConfig('url') : '';
60 $baseUri = $this->_scheme.'://'.$connection->getHost().':'.$connection->getPort().'/'.$connection->getPath();
79 \curl_setopt($conn, \CURLOPT_TIMEOUT_MS, $connection->getTimeout() * 1000);
88 $connectTimeoutMs = $connection->getConnectTimeout() * 1000;
96 if (null !== $proxy = $connection
[all...]
H A DHttpAdapter.php38 public function __construct(?Connection $connection, HttpAdapterInterface $httpAdapter) argument
40 parent::__construct($connection);
57 $connection = $this->getConnection();
59 if ($timeout = $connection->getTimeout()) {
63 $httpAdapterRequest = $this->_createHttpAdapterRequest($elasticaRequest, $connection);
95 protected function _createHttpAdapterRequest(ElasticaRequest $elasticaRequest, Connection $connection): HttpAdapterRequest argument
100 $headers = $connection->hasConfig('headers') ?: [];
118 $url = $this->_getUri($elasticaRequest, $connection);
124 protected function _getUri(ElasticaRequest $request, Connection $connection): string argument
126 $url = $connection
[all...]
H A DAbstractTransport.php28 public function __construct(?Connection $connection = null) argument
30 if ($connection) {
31 $this->setConnection($connection);
43 public function setConnection(Connection $connection): AbstractTransport argument
45 $this->_connection = $connection;
91 * @param Connection $connection A connection instance
96 public static function create($transport, Connection $connection, array $params = []): AbstractTransport argument
123 $transport->setConnection($connection);
/plugin/authgoogle/google/cache/
H A DGoogle_MemcacheCache.php27 private $connection = false; variable in Google_MemcacheCache
43 if ((@memcache_get($this->connection, $key . '.lock')) === false) {
53 @memcache_add($this->connection, $key . '.lock', '', 0, 5);
59 @memcache_delete($this->connection, $key . '.lock');
81 if (! $this->connection = @memcache_pconnect($this->host, $this->port)) {
87 if (! $this->connection) {
97 if (($ret = @memcache_get($this->connection, $key)) === false) {
116 if (@memcache_set($this->connection, $key, array('time' => time(),
128 @memcache_delete($this->connection, $key);
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dextension.cache.mysql.php84 private $connection; variable in getID3_cached_mysql
112 $this->connection = mysql_pconnect($host, $username, $password);
113 if (!$this->connection) {
118 if (!mysql_select_db($database, $this->connection)) {
136 if ($this->cursor = mysql_query($SQLquery, $this->connection)) {
153 …ursor = mysql_query('DELETE FROM `'.mysql_real_escape_string($this->table).'`', $this->connection);
154 …ble).'` VALUES (\''.getID3::VERSION.'\', -1, -1, -1, \''.getID3::VERSION.'\')', $this->connection);
184 $this->cursor = mysql_query($SQLquery, $this->connection);
203 $this->cursor = mysql_query($SQLquery, $this->connection);
224 $this->cursor = mysql_query($SQLquery, $this->connection);
[all …]
/plugin/swiftmail/Swift/Events/
H A DDisconnectEvent.php24 protected $connection = null; variable in Swift_Events_DisconnectEvent
30 public function __construct(Swift_Connection $connection) argument
32 $this->connection = $connection;
40 return $this->connection;
H A DConnectEvent.php24 protected $connection = null; variable in Swift_Events_ConnectEvent
30 public function __construct(Swift_Connection $connection) argument
32 $this->connection = $connection;
40 return $this->connection;
/plugin/elasticsearch/vendor/ruflin/elastica/src/Connection/
H A DConnectionPool.php24 * @var StrategyInterface Strategy for connection
29 * @var callable|null Function called on connection fail
43 public function addConnection(Connection $connection): self argument
45 $this->_connections[] = $connection;
64 foreach ($this->_connections as $connection) {
65 if ($connection->isEnabled()) {
89 public function onFail(Connection $connection, Exception $e, Client $client): void argument
91 $connection->setEnabled(false);
94 ($this->_callback)($connection, $e, $client);
/plugin/sqlcomp/
H A Dsyntax.php387 $rs = odbc_exec($connection,$Query);
393 odbc_close($connection);
406 pg_close($connection);
412 if(!$connection = mysqli_connect($Server, $User, $Pass) or false)
415 if (!mysqli_select_db($connection, $Database))
416 throw new Exception(mysqli_error($connection));
418 $rs = mysqli_query($connection, $Query);
428 mysqli_close($connection);
456 if(!$connection = oci_connect($User, $Pass, $Server) or false)
460 $rs = oci_parse($connection, $Query);
[all …]
/plugin/elasticsearch/vendor/ruflin/elastica/src/Connection/Strategy/
H A DSimple.php20 foreach ($connections as $connection) {
21 if ($connection->isEnabled()) {
22 return $connection;
26 throw new ClientException('No enabled connection');
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DRequest.php38 public function __construct(string $path, string $method = self::GET, $data = [], array $query = [], ?Connection $connection = null, string $contentType = self::DEFAULT_CONTENT_TYPE) argument
45 if ($connection) {
46 $this->setConnection($connection);
135 public function setConnection(Connection $connection) argument
137 $this->_connection = $connection;
145 * @throws Exception\InvalidException If no valid connection was set
150 throw new InvalidException('No valid connection object set');
193 $data['connection'] = $this->_connection->getParams();
/plugin/swiftmail/Swift/Plugin/
H A DConnectionRotator.php76 if (!method_exists($e->getSwift()->connection, "nextConnection"))
82 $this->used[] = $e->getSwift()->connection->getActive();
87 $e->getSwift()->connection->nextConnection();
88 if (!in_array(($id = $e->getSwift()->connection->getActive()), $this->used))
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/Namespaces/
H A DSnapshotNamespace.asciidoc42 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
59 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
75 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
91 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
109 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
137 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
153 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
169 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
186 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
201 $params['master_timeout'] = (time) Explicit operation timeout for connection t
[all...]

12345678910