Home
last modified time | relevance | path

Searched refs:key (Results 26 – 50 of 2364) sorted by relevance

12345678910>>...95

/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/
H A DArrayEntryToken.php24 private $key; variable in Prophecy\\Argument\\Token\\ArrayEntryToken
29 * @param mixed $key exact value or token
32 public function __construct($key, $value) argument
34 $this->key = $this->wrapIntoExactValueToken($key);
63 $scoreEntry = function ($value, $key) {
64 return $value && $key ? min(8, ($key + $value) / 2) : false;
97 return $this->key;
131 if (!$this->key instanceof ExactValueToken) {
135 $this->key
139 $key = $this->key->getValue();
[all …]
/plugin/authgoogle/google/cache/
H A DGoogle_MemcacheCache.php41 private function isLocked($key) { argument
49 private function createLock($key) { argument
56 private function removeLock($key) { argument
62 private function waitForLock($key) { argument
72 if ($this->isLocked($key)) {
74 $this->removeLock($key);
101 $this->delete($key);
109 * @param string $key
113 public function set($key, $value) { argument
124 * @param String $key
[all …]
/plugin/swiftmail/Swift/Cache/
H A DMemory.php37 public function write($key, $data) argument
39 if (!isset($this->store[$key])) $this->store[$key] = $data;
40 else $this->store[$key] .= $data;
46 public function clear($key) argument
48 $this->store[$key] = null;
49 unset($this->store[$key]);
56 public function has($key) argument
66 public function read($key, $size=null) argument
70 if ($this->requested == $key)
75 $this->requested = $key;
[all …]
H A DDisk.php57 public function write($key, $data) argument
72 public function clear($key) argument
81 public function has($key) argument
91 public function read($key, $size=null) argument
96 if (!isset($this->open[$key]))
98 $this->open[$key] = fopen(self::$save_path . "/" . $this->prefix . $key, "rb");
100 if (feof($this->open[$key]))
102 fclose($this->open[$key]);
103 unset($this->open[$key]);
113 fclose($this->open[$key]);
[all …]
/plugin/charter/
H A Dhelper.php194 if (($key == 'fontTitle') || ($key == 'fontDefault') || ($key == 'fontLegend')) {
217 … else if ($key == 'grid' || $key == 'legend' || $key == 'shadow' || $key == 'ticks' || $key == 'pi…
225 } else if ($key == 'legendEntries' || $key == 'thresholds') {
227 $flags[$key] = $this->_trimArray(explode(',', $flags[$key]));
236 } else if ($key == 'dots' || $key == 'decimals') {
240 …} else if ($key == 'bgcolor' || $key == 'legendColor' || $key == 'graphColor' || $key == 'titleCol…
243 if (!$flags[$key])
252 $flags[$key] = $this->_trimArray(explode(',', $flags[$key]));
259 if (!is_numeric($flags[$key][$i][0]) || $flags[$key][$i][0] < 0) {
264 } else if ($key == 'XAxisFormat' || $key == 'YAxisFormat') {
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DAsymmetricKey.php208 $key = self::load($key, $password);
212 return $key;
224 $key = self::load($key);
228 return $key;
240 $key = self::load($key);
244 return $key;
290 $key = self::loadFormat($type, $key, $password);
294 return $key;
307 $key = self::loadFormat($type, $key);
311 return $key;
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPuTTY.php139 * @param string $key
143 public static function load($key, $password) argument
145 if (!Strings::is_stringable($key)) {
192 $key = preg_split('#\r\n|\r|\n#', trim($key));
306 $key .= "Comment: $comment\r\n";
314 $key .= chunk_split($public, 64);
364 $key .= chunk_split($private, 64);
367 return $key;
376 * @param string $key
382 $key = pack('Na*a*', strlen($type), $type, $key);
[all …]
H A DPKCS1.php125 * @param string $key
129 protected static function load($key, $password) argument
131 if (!Strings::is_stringable($key)) {
153 $key = preg_replace('#^(?:Proc-Type|DEK-Info): .*#m', '', $key);
154 $ciphertext = ASN1::extractBER($key);
156 $ciphertext = $key;
161 $key = $crypto->decrypt($ciphertext);
166 $key = $decoded;
173 return $key;
180 * @param string $key
[all …]
H A DPKCS8.php332 * @param string $key
509 * @param string $key
522 $key = [
539 $key = ASN1::encodeDER($key, Maps\OneAsymmetricKey::MAP);
597 $key = $crypto->encrypt($key);
599 $key = [
607 $key = ASN1::encodeDER($key, Maps\EncryptedPrivateKeyInfo::MAP);
623 * @param string $key
632 $key = [
640 $key = ASN1::encodeDER($key, Maps\PublicKeyInfo::MAP);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DPKCS1.php56 * @param string $key
60 public static function load($key, $password = '') argument
64 if (!Strings::is_stringable($key)) {
68 if (strpos($key, 'BEGIN EC PARAMETERS') && strpos($key, 'BEGIN EC PRIVATE KEY')) {
118 $key = parent::load($key, $password);
120 $decoded = ASN1::decodeBER($key);
126 if (is_array($key)) {
131 if (!is_array($key)) {
134 if (!isset($key['parameters'])) {
190 $key = [
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Cache/
H A DExpiringCache.php30 public function has($key) argument
32 if ($this->cache->has($key)) {
37 $this->cache->remove($key.'.expires');
38 $this->cache->remove($key);
44 public function get($key) argument
46 return $this->cache->get($key);
49 public function set($key, $value) argument
52 $this->cache->set($key, $value);
55 public function remove($key) argument
57 $this->cache->remove($key.'.expires');
[all …]
H A DArrayCache.php26 public function has($key) argument
28 return isset($this->cache[$key]);
34 public function get($key) argument
36 if (!$this->has($key)) {
37 throw new \RuntimeException('There is no cached value for '.$key);
40 return $this->cache[$key];
46 public function set($key, $value) argument
48 $this->cache[$key] = $value;
54 public function remove($key) argument
56 unset($this->cache[$key]);
H A DApcCache.php26 public function has($key) argument
28 return apc_exists($key);
34 public function get($key) argument
36 $value = apc_fetch($key, $success);
39 throw new \RuntimeException('There is no cached value for '.$key);
48 public function set($key, $value) argument
50 $store = apc_store($key, $value, $this->ttl);
53 throw new \RuntimeException('Unable to store "'.$key.'" for '.$this->ttl.' seconds.');
62 public function remove($key) argument
64 return apc_delete($key);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DPSS.php103 * @param string $key
107 public static function load($key, $password = '') argument
111 if (!Strings::is_stringable($key)) {
117 $key = parent::load($key, $password);
123 if (isset($key[$type . 'KeyAlgorithm']['parameters'])) {
156 if (isset($key['meta'])) {
157 $result['meta'] = $key['meta'];
182 $key = ASN1::extractBER($key);
200 $key = PKCS1::savePublicKey($n, $e);
201 $key = ASN1::extractBER($key);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/Cache/
H A DFilesystemCache.php43 public function load($key) argument
45 if (file_exists($key)) {
46 @include_once $key;
50 public function write($key, $content) argument
52 $dir = \dirname($key);
64 $tmpFile = tempnam($dir, basename($key));
66 @chmod($key, 0666 & ~umask());
73 apc_compile_file($key);
83 public function getTimestamp($key) argument
85 if (!file_exists($key)) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/VersionControl/
H A DSubversionPropertiesSniff.php87 if (isset($properties[$key]) === true
92 $key,
93 $properties[$key],
99 if (isset($properties[$key]) === false
104 $key,
105 $this->properties[$key],
111 if ($properties[$key] !== null
112 && $properties[$key] !== $this->properties[$key]
116 $key,
117 $properties[$key],
[all …]
/plugin/oauthauthsch/
H A DDotAccess.php17 * @param string $key
26 if (is_null($key)) {
29 if (static::exists($array, $key)) {
30 return $array[$key];
32 if (strpos($key, '.') === false) {
33 return $array[$key] ?? $default;
35 foreach (explode('.', $key) as $segment) {
60 * @param string|int $key
63 protected static function exists($array, $key) argument
66 return $array->offsetExists($key);
[all …]
/plugin/oauthgeneric/
H A DDotAccess.php17 * @param string $key
21 public static function get($array, $key, $default = null) argument
23 $key = trim($key, '.');
28 if (is_null($key)) {
31 if (static::exists($array, $key)) {
32 return $array[$key];
34 if (strpos($key, '.') === false) {
35 return $array[$key] ?? $default;
37 foreach (explode('.', $key) a
63 exists($array, $key) global() argument
[all...]
/plugin/struct/meta/
H A DTranslationUtilities.php28 foreach ($keysToInitialize as $key) {
29 if (!isset($this->config[$key])) {
30 $this->config[$key] = [];
34 if (!isset($this->config[$key][$lang])) {
35 $this->config[$key][$lang] = '';
39 foreach (array_keys($this->config[$key]) as $langKey) {
41 unset($this->config[$key][$langKey]);
48 * Returns the translated key
53 * @param string $key
54 * @param string $default the default to return if there is no translation set for $key
58 getTranslatedKey($key, $default) global() argument
[all...]
/plugin/confmanager/configTypes/
H A DConfigManagerTwoLineLeftImageConfigCascade.php42 * @param string $key
59 * @param string $key
62 protected function getImage($configtype, $key) { argument
91 $key = $INPUT->str('key');
93 if ($key === '') {
99 if (isset($configs['default'][$key])) {
156 return "$key." . $upload_extension;
162 * @param string $key
176 $key = $INPUT->str('key');
177 if ($key === '') {
[all …]
/plugin/authgooglesheets/vendor/ralouphie/getallheaders/src/
H A Dgetallheaders.php20 foreach ($_SERVER as $key => $value) {
21 if (substr($key, 0, 5) === 'HTTP_') {
22 $key = substr($key, 5);
23 if (!isset($copy_server[$key]) || !isset($_SERVER[$key])) {
24 $key = str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', $key))));
25 $headers[$key] = $value;
27 } elseif (isset($copy_server[$key])) {
28 $headers[$copy_server[$key]] = $value;
/plugin/combo/ComboStrap/Web/
H A DUrl.php178 foreach ($_REQUEST as $key => $value) {
182 if ($key !== "config") {
184 LogUtility::warning("The key ($key) is an array of an array and was not taken into account in the request url.");
189 if ($key == "do") {
190 // for whatever reason, dokuwiki puts the value in the key
191 $url->addQueryParameter($key, $subkey);
194 $url->addQueryParameter($key, $subval);
205 if (strpos($key, "amp;") === 0) {
210 $message = "The url in src has a bad encoding (the attribute ($key) ha
238 getQueryPropertyValue($key) global() argument
319 addQueryParameter(string $key, string $value = null) global() argument
349 hasProperty(string $key) global() argument
441 getQueryPropertyValueOrDefault(string $key, string $defaultIfNull) global() argument
608 getQueryPropertyValueAndRemoveIfPresent(string $key) global() argument
841 addQueryParameterIfNotActualSameValue(string $key, string $value) global() argument
877 addQueryParameterIfNotPresent(string $key, string $value) global() argument
890 setQueryParameter(string $key, string $value) global() argument
897 deleteQueryParameter(string $key) global() argument
[all...]
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DClientConfiguration.php54 foreach ($config as $key => $value) {
55 $clientConfiguration->set($key, $value);
109 * Returns a specific config key or the whole config array if not set.
111 * @throws InvalidException if the given key is not found in the configuration
115 public function get(string $key) argument
117 if ('' === $key) {
121 if (!$this->has($key)) {
122 throw new InvalidException('Config key is not set: '.$key);
125 return $this->configuration[$key];
131 has(string $key) global() argument
148 set(string $key, $value) global() argument
159 add(string $key, $value) global() argument
[all...]
/plugin/batchedit/
H A Djs.cookie.js32 for (var key in attributes) {
33 result[key] = attributes[key];
40 function api (key, value, attributes) { argument
73 value = converter.write(value, key);
76 key = encodeURIComponent(String(key));
77 key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
78 key
143 api(key) global() argument
153 remove(key, attributes) global() argument
[all...]
/plugin/findologicxmlexport/vendor/findologic/libflexport/src/FINDOLOGIC/Export/Data/
H A DProperty.php9 public function __construct($key, $usergroup) argument
11 …parent::__construct(sprintf('Property "%s" already has a value for usergroup "%s".', $key, $usergr…
17 public function __construct($key) argument
19 …t(sprintf('Property key "%s" is reserved for internal use and overwritten when importing.', $key));
38 private $key; variable in FINDOLOGIC\\Export\\Data\\Property
44 public function __construct($key, $values = []) argument
47 if (preg_match($reservedPropertyKey, $key)) {
48 throw new PropertyKeyNotAllowedException($key);
52 $this->key = DataHelper::checkForEmptyValue($key);
58 return $this->key;
[all …]

12345678910>>...95