Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 254) sorted by relevance

1234567891011

/plugin/emoji/emojione/
H A DEmojione.php20 protected static $client = null; variable in Emojione\\Emojione
29 $client = static::getClient();
32 static::updateConfig($client);
34 if ( ! method_exists($client, $method) )
50 if ( static::$client === null )
55 return static::$client;
61 * @param ClientInterface $client The Client
67 static::loadConfig($client);
69 static::$client = $client;
77 * @param ClientInterface $client The Client
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DClientTest.php14 $client = new ClientMock(array(
32 $client = new ClientMock([
45 $client = new ClientMock([
59 $client = new ClientMock([
73 $client = new ClientMock([
87 $client = new ClientMock([
98 $client = new ClientMock([
109 $client = new ClientMock([
148 $client = new ClientMock([
159 $client = new ClientMock([
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/
H A DClientTest.php91 $client->delete(
106 $client->delete(
122 $client->delete(
138 $client->delete(
153 $client->delete(
169 $client->delete(
185 $client->delete(
201 $client->delete(
233 $client->search($searchParams);
464 $client = $builder->build();
[all …]
/plugin/davcal/vendor/sabre/http/tests/HTTP/
H A DClientTest.php7 protected $client; variable in Sabre\\HTTP\\ClientTest
11 $client = new ClientMock();
42 $client = new ClientMock();
70 $client = new ClientMock();
135 $client = new ClientMock();
161 $client = new ClientMock();
188 $client->send($request);
199 $client = new ClientMock();
250 $client = new ClientMock();
251 $client->setThrowExceptions(true);
[all …]
/plugin/xcom/scripts/
H A Dxml.php23 if($client)
27 if(!xcom_lock($params[1], true, $client)) {
71 $retv = $client->getResponse();
78 xcom_lock($params[1], false, $client);
113 $client = new IXR_Client($url);
114 $client->debug = $debug; // enable for debugging
115 $client->query('dokuwiki.login',$user,$pwd);
116 $ok = $client->getResponse();
117 if($ok) return $client;
122 function xcom_lock($page, $lock, $client) { argument
[all …]
/plugin/sync/
H A Dadmin.php17 protected $client = null; variable in admin_plugin_sync
30 if(!is_null($this->client)) return true;
37 $this->client->timeout = $timeout;
47 $this->client = null;
50 if(!$this->client->getResponse()){
52 $this->client = null;
60 $this->client = null;
66 $this->client = null;
101 $this->client = null;
364 $data = $this->client->getResponse();
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dper-request-configuration.asciidoc29 echo $client->get($params);
45 echo $client->get($params);
76 'client' => [
103 $response = $client->get($params);
131 'client' => [
236 'client' => [
256 'client' => [
260 $future = $client->get($params);
273 in the client options:
283 'client' => [
[all …]
H A Dfutures.asciidoc30 'client' => [
35 $future = $client->get($params);
57 'client' => [
62 $future = $client->get($params);
79 'client' => [
109 'client' => [
163 'client' => [
188 'client' => [
201 'client' => [
217 'client' => [
[all …]
H A Dconfiguration.asciidoc49 $client = $clientBuilder->build(); // Build the client object
107 $client = ClientBuilder::create()
128 $client->search($searchParams);
149 $client->search($searchParams);
221 $client = ClientBuilder::create()
242 $client = ClientBuilder::create()
259 $client = ClientBuilder::create()
280 $client = ClientBuilder::create()
334 $client = ClientBuilder::create()
371 $client = ClientBuilder::create()
[all …]
H A Dindex-operations.asciidoc10 client object. As an example, let's create a new index:
14 $client = ClientBuilder::create()->build();
20 $response = $client->indices()->create($params);
29 $client = ClientBuilder::create()->build();
55 $response = $client->indices()->create($params);
126 $client->indices()->create($params);
140 $response = $client->indices()->delete($params);
207 $client->indices()->putMapping($params);
218 $response = $client->indices()->getMapping();
222 $response = $client->indices()->getMapping($params);
[all …]
/plugin/authgoogle/
H A Dauth.php79 $client = new Google_Client();
80 $client->setApplicationName("Google Application");
81 $client->setClientId($this->getConf('client_id'));
84 $client->setAccessType('online');
85 $client->setApprovalPrompt('auto');
87 $oauth2 = new Google_Oauth2Service($client);
92 $client->authenticate($_GET['code']);
120 if ($client->getAccessToken()) {
123 if($client->isAccessTokenExpired()) {
124 $authUrl = $client->createAuthUrl();
[all …]
/plugin/gitlabproject/gitlab/
H A Dgitlab.php8 public $client; variable in DokuwikiGitlab
13 $this->client = curl_init();
21 curl_setopt($this->client, CURLOPT_URL, $url);
22 curl_setopt($this->client, CURLOPT_HTTPHEADER, array(
26 curl_setopt($this->client, CURLOPT_SSL_VERIFYHOST, '1');
27 curl_setopt($this->client, CURLOPT_SSL_VERIFYPEER, '0');
28 curl_setopt($this->client, CURLOPT_RETURNTRANSFER, true);
30 $answer = curl_exec($this->client);
37 curl_close($this->client);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Helper/Iterators/
H A DSearchResponseIterator.php26 private $client; variable in Elasticsearch\\Helper\\Iterators\\SearchResponseIterator
56 * @param Client $client
60 public function __construct(Client $client, array $search_params) argument
62 $this->client = $client;
98 $this->client->clearScroll(
120 $this->current_scrolled_response = $this->client->search($this->params);
132 $this->current_scrolled_response = $this->client->scroll(
/plugin/webdavclient/
H A Dhelper.php15 protected $client = null; variable in helper_plugin_webdavclient
28 $this->client = new DokuHTTPClient();
83 if($this->client->status == 201)
111 if($this->client->status == 204)
139 if($this->client->status == 204)
285 if($this->client->status == 201)
314 if($this->client->status == 204)
822 if(($this->client->status >= 400) || ($this->client->status < 200))
1101 $this->client->http = '1.1';
1192 if(($this->client->status >= 400) || ($this->client->status < 200))
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DAddressBookQueryTest.php43 $client = new DAV\Client(array('baseUri'=>'/'));
45 $result = $client->parseMultiStatus($response->body);
93 $client = new DAV\Client(array('baseUri'=>'/'));
95 $result = $client->parseMultiStatus($response->body);
138 $client = new DAV\Client(array('baseUri'=>'/'));
140 $result = $client->parseMultiStatus($response->body);
177 $client = new DAV\Client(array('baseUri'=>'/'));
179 $result = $client->parseMultiStatus($response->body);
220 $client = new DAV\Client(array('baseUri'=>'/'));
222 $result = $client->parseMultiStatus($response->body);
[all …]
/plugin/epub/
H A Dscript.js1 function epub_show_throbber(user,client) { argument
14 if(client) {
15 params += "&client="+encodeURIComponent(client);
58 function _epub_show_throbber(user,client) { argument
59 epub_show_throbber(user,client);
62 epub_check_progress(client,user);
66 function epub_check_progress(client,user) { argument
69 if(client) {
70 params += "&client="+encodeURIComponent(client);
/plugin/redissue/redmine/
H A Dredmine.php13 public $client; variable in DokuwikiRedmine
16 $this->client = new Redmine\Client($url, $apiKey);
18 $this->client->setImpersonateUser($user);
24 $project_id = $this->client->project->getIdByName($project_name);
25 $project = $this->client->project->show($project_id);
30 return $this->client->issue->show($issue_id);
34 return $this->client->issue_status->all();
38 $all_users = $this->client->user->all(['limit' => '500']);
71 $all_prio = $this->client->issue_priority->all();
/plugin/eventum/
H A Dclass.Eventum_RPC.php46 private $client; variable in Eventum_RPC
51 $this->client = $this->getClient();
55 $this->client->setAutoBase64(true);
65 $this->client->setDebug($debug);
77 $this->client->setCredentials($username, $password);
123 $result = $this->client->send($msg);
126 throw new Eventum_RPC_Exception($this->client->errstr);
/plugin/emoji/
H A Dsyntax.php61 protected $client; variable in syntax_plugin_emoji
67 $this->client = new Emojione\Client($this->ruleset);
68 $this->client->unicodeAlt = true;
69 $this->client->sprites = false;
70 $this->client->imageType = 'png';
141 return preg_replace('/\((?!\?)/', '(?:', $this->client->shortcodeRegexp);
168 return $this->client->toShortCallback(array($unicode,$unicode));
172 return $this->client->shortnameToImageCallback(array($shortname,$shortname));
176 return $this->client->unicodeToImageCallback(array($unicode,$unicode));
/plugin/jenkins/jenkinsapi/
H A Djenkins.php7 public $client; variable in DokuwikiJenkins
11 $this->client = curl_init();
21 curl_setopt($this->client, CURLOPT_URL, $url_srv);
22 curl_setopt($this->client, CURLOPT_HTTPHEADER, array(
26 curl_setopt($this->client, CURLOPT_RETURNTRANSFER, true);
28 $answer = curl_exec($this->client);
/plugin/jdraw/lib/
H A Dhttpclient-4.0.1.jar ... http/annotation/ org/apache/http/client/ org/apache/http/client/methods ...
/plugin/jcapture/lib/
H A Dhttpclient-4.0.1.jar ... http/annotation/ org/apache/http/client/ org/apache/http/client/methods ...
/plugin/listeabo/
H A Daction.php74 if (auth_ismanager($INFO['client'])) {
78 if (!$user) $user=$INFO['client'];
147 if ($user==$INFO['client'])
153 if ($user==$INFO['client'])
171 if (auth_ismanager($INFO['client'])) {
173 …if ($admin || $user != $INFO['client']) print '<a href="?do=listeabo" class="wikilink">'.$this->ge…
/plugin/letsencrypt/
H A DLescript.php147 $result = $this->client->get($location);
167 $this->client->getLastLinks();
178 if ($this->client->getLastCode() !== 201) {
181 $location = $this->client->getLastLocation();
186 $this->client->getLastLinks();
188 $result = $this->client->get($location);
190 if ($this->client->getLastCode() == 202) {
195 } else if ($this->client->getLastCode() == 200) {
203 $result = $this->client->get($link);
358 $protected["nonce"] = $this->client->getLastNonce();
[all …]
/plugin/ipban/
H A Daction.php34 $client = clientIP(true);
38 $banreason = $this->isBanned($client, $bans);
63 * @param string $client IP of the client
67 protected function isBanned($client, $banconf) argument
71 $ip = \IPLib\Factory::addressFromString($client);

1234567891011