/dokuwiki/lib/plugins/config/core/ |
H A D | Configuration.php | 110 foreach ($this->settings as $key => $obj) { 111 $value = $input[$key] ?? null; 169 foreach ($keys as $key) { 170 $obj = $this->instantiateClass($key); 172 if ($obj->shouldHaveDefault() && !isset($this->default[$key])) { 173 $this->undefined[$key] = new SettingNoDefault($key); 176 $d = $this->default[$key] ?? null; 177 $l = $this->local[$key] ?? null; 178 $p = $this->protected[$key] 182 instantiateClass($key) global() argument 202 determineClassName($class, $key) global() argument [all...] |
/dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
H A D | DataCache.php | 70 * public function get(string $key, mixed $default = null): mixed; 73 * @param string $key The unique key of this item in the cache. 74 * @param mixed $default Default value to return if the key does not exist. 79 * MUST be thrown if the $key string is not a legal value. 81 public function get_data(string $key, $default = null); argument 84 * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. 88 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; 91 * @param string $key The key o 102 set_data(string $key, array $value, int $ttl = null) global() argument 119 delete_data(string $key) global() argument [all...] |
H A D | Psr16.php | 82 * public function get(string $key, mixed $default = null): mixed; 85 * @param string $key The unique key of this item in the cache. 86 * @param mixed $default Default value to return if the key does not exist. 91 * MUST be thrown if the $key string is not a legal value. 93 public function get_data(string $key, $default = null) argument 95 $data = $this->cache->get($key, $default); 105 * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. 109 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; 112 * @param string $key Th 123 set_data(string $key, array $value, int $ttl = null) global() argument 143 delete_data(string $key) global() argument [all...] |
H A D | BaseDataCache.php | 74 * public function get(string $key, mixed $default = null): mixed; 77 * @param string $key The unique key of this item in the cache. 78 * @param mixed $default Default value to return if the key does not exist. 83 * MUST be thrown if the $key string is not a legal value. 85 public function get_data(string $key, $default = null) argument 110 * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. 114 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; 117 * @param string $key The key o 128 set_data(string $key, array $value, int $ttl = null) global() argument 155 delete_data(string $key) global() argument [all...] |
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | Twofish.php | 341 * Holds the last used key 388 * Sets the key length. 390 * Valid key lengths are 128, 192 or 256 bits 409 * Sets the key. 411 * Rijndael supports five different key lengths 414 * @param string $key 415 * @throws \LengthException if the key length isn't supported 417 public function setKey($key) 419 switch (strlen($key)) { 425 throw new \LengthException('Key of size ' . strlen($key) [all...] |
H A D | TripleDES.php | 84 * max possible size of $key 142 // This three $des'es will do the 3CBC work (if $key > 64bits) 206 * Sets the key length. 208 * Valid key lengths are 128 and 192 bits. 210 * If you want to use a 64-bit key use DES.php 213 * @throws \LengthException if the key length is invalid 230 * Sets the key. 232 * Triple DES can use 128-bit (eg. strlen($key) == 16) or 192-bit (eg. strlen($key) == 24) keys. 238 * @throws \LengthException if the key lengt 263 setKey($key) global() argument [all...] |
H A D | AES.php | 15 * {@link self::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's 136-bits 16 * it'll be null-padded to 192-bits and 192 bits will be the key length until {@link self::setKey() setKey()} 72 * Sets the key length 74 * Valid key lengths are 128, 192, and 256. Set the link to bool(false) to disable a fixed key length 78 * @throws \LengthException if the key length isn't supported 94 * Sets the key. 96 * Rijndael supports five different key lengths, AES only supports three. 100 * @param string $key 107 setKey($key) global() argument [all...] |
H A D | RSA.php | 41 * Technically, id-RSASSA-PSS has a different key format than rsaEncryption. So 45 * decode an id-RSASSA-PSS key. For X.509 certificates the id-RSASSA-PSS 242 * than 256 bits. As a consequence if the key you're trying to create is 1024 bits and you've set smallestPrime 245 * ignored (ie. multi-prime RSA support is more intended as a way to speed up RSA key generation when there's 260 * Sets the public exponent for key generation 272 * Sets the smallest prime number in bits. Used for key generation 296 * Create a private key 298 * The public key can be extracted from the private key 441 $key 1089 _parseKey($key, $type) global() argument 1728 loadKey($key, $type = false) global() argument 1880 setPublicKey($key = false, $type = false) global() argument 1940 setPrivateKey($key = false, $type = false) global() argument [all...] |
H A D | RC2.php | 56 * @see \phpseclib3\Crypt\Common\SymmetricKey::key 60 protected $key; 65 * @see \phpseclib3\Crypt\Common\SymmetricKey::key 98 * The key length in bits. 102 * {@internal Changing this value after setting the key has no effect.} 111 * The key length in bits. 131 * Twice the same 256-value sequence to save a modulus in key expansion. 204 * Inverse key expansion randomization table. 289 * Sets the key length. 291 * Valid key length 63 var $key; global() variable in phpseclib\\Crypt\\RC2 343 setKey($key, $t1 = 0) global() argument [all...] |
/dokuwiki/lib/scripts/ |
H A D | cookie.js | 21 setValue: function(key,val){ argument 26 delete this.data[key]; 29 this.data[key] = val; 34 jQuery.each(_this.data, function (key, val) { argument 35 if (_this.data.hasOwnProperty(key)) { 36 text.push(encodeURIComponent(key)+'#'+encodeURIComponent(val)); 46 * @param def default value if key does not exist; if not set, returns undefined by default 48 getValue: function(key, def){ argument 50 return this.data.hasOwnProperty(key) ? this.data[key] [all...] |
/dokuwiki/inc/Parsing/Handler/ |
H A D | Table.php | 174 $key = -1; 175 while (++$key < count($this->tableCalls)) { 176 $call = $this->tableCalls[$key]; 181 array_splice($this->tableCalls, $key + 1, 0, [['tablethead_open', [], $call[2]]]); 193 $cellKey[$lastRow][$lastCell] = $key; 197 $prev = in_array($this->tableCalls[$key - 1][0], ['tablecell_open', 'tableheader_open']); 198 $next = in_array($this->tableCalls[$key + 1][0], ['tablecell_close', 'tableheader_close']); 201 $this->tableCalls[$key - 1][1][1] = 'left'; 205 $this->tableCalls[$key - 1][1][1] = 'right'; 217 $this->tableCalls[$key][ [all...] |
/dokuwiki/inc/HTTP/ |
H A D | Headers.php | 19 foreach ($policy as $key => $values) { 25 $policy[$key] = $values; 29 foreach ($policy as $key => $values) { 31 $cspheader .= " $key " . implode(' ', $values) . ';'; 33 $cspheader .= " $key;";
|
/dokuwiki/lib/plugins/config/core/Setting/ |
H A D | SettingLicense.php | 17 foreach ($license as $key => $data) { 18 $this->choices[] = $key; 19 $this->lang[$this->key . '_o_' . $key] = $data['name']; // stored in setting
|
H A D | SettingString.php | 24 $key = htmlspecialchars($this->key); 27 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 28 $input = '<input id="config___' . $key . '" name="config[' . $key .
|
H A D | SettingPassword.php | 34 $key = htmlspecialchars($this->key); 36 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 37 $input = '<input id="config___' . $key . '" name="config[' . $key .
|
H A D | SettingMulticheckbox.php | 51 $key = htmlspecialchars($this->key); 67 $prompt = ($plugin->getLang($this->key . '_' . $choice) ?: htmlspecialchars($choice)); 70 $input .= '<label for="config___' . $key . '_' . $choice . '">' . $prompt . "</label>\n"; 71 $input .= '<input id="config___' . $key . '_' . $choice . '" name="config[' . $key . 93 $input .= '<label for="config___' . $key . '_other">' . 94 $plugin->getLang($key . '_other') . 96 $input .= '<input id="config___' . $key . '_other" name="config[' . $key [all...] |
H A D | SettingMultichoice.php | 36 $key = htmlspecialchars($this->key); 38 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 41 $input .= '<select class="edit" id="config___' . $key . '" name="config[' . $key . ']"' . $disable . '>' . "\n"; 44 $option = $plugin->getLang($this->key . '_o_' . $choice); 45 if (!$option && isset($this->lang[$this->key . '_o_' . $choice])) { 46 $option = $this->lang[$this->key . '_o_' . $choice];
|
H A D | SettingOnoff.php | 39 $key = htmlspecialchars($this->key); 42 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 43 $input = '<div class="input"><input id="config___' . $key . '" name="config[' . $key .
|
H A D | Setting.php | 13 protected $key = ''; 37 * @param string $key 40 public function __construct($key, $params = null) 42 $this->key = $key; 53 * Set the current values for the setting $key 127 * Get this setting's unique key 133 return $this->key; 137 * Get the key of this setting marked up human readable 144 $out = str_replace(Configuration::KEYMARKER, "»", $this->key); 12 protected $key = ''; global() variable in dokuwiki\\plugin\\config\\core\\Setting\\Setting 39 __construct($key, $params = null) global() argument [all...] |
/dokuwiki/inc/Form/ |
H A D | InputElement.php | 100 * @return array name and array key (null if not an array) 111 $key = array_keys($parsed[$name]); 112 $key = array_shift($key); 114 $key = null; 117 return [$name, $key]; 127 [$name, $key] = $this->getInputName(); 130 if ($key === null) { 134 if (isset($value[$key])) { 135 $value = $value[$key]; [all...] |
H A D | OptGroup.php | 50 * attr-key => attr-value, ... 62 foreach ($options as $key => $val) { 66 'If option is given as array, it has to have a "label"-key!' 78 $this->options[$key] = $val; 79 } elseif (is_int($key)) { 82 $this->options[$key] = ['label' => (string)$val]; 110 foreach ($this->options as $key => $val) { 111 $selected = in_array((string)$key, $this->values) ? ' selected="selected"' : ''; 116 $html .= '<option' . $selected . ' value="' . hsc($key) . '" ' . $attrs . '>';
|
H A D | CheckableElement.php | 32 [$name, $key] = $this->getInputName(); 37 if ($key === null) { 38 // no key - single value 48 if (isset($input[$key])) { 52 if (is_array($input[$key])) { 53 $input = $input[$key];
|
/dokuwiki/lib/scripts/jquery/ |
H A D | jquery.cookie.js | 55 var config = $.cookie = function (key, value, options) { 68 encode(key), '=', stringifyCookieValue(value), 78 var result = key ? undefined : {}; 90 if (key && key === name) { 97 if (!key && (cookie = read(cookie)) !== undefined) { 107 $.removeCookie = function (key, options) { argument 108 if ($.cookie(key) === undefined) { 113 $.cookie(key, '', $.extend({}, options, { expires: -1 })); 114 return !$.cookie(key); [all...] |
/dokuwiki/lib/plugins/styling/ |
H A D | admin.php | 86 foreach ($replacements as $key => $value) { 87 $name = tpl_getLang($key); 88 if (empty($name)) $name = $this->getLang($key); 89 if (empty($name)) $name = $key; 92 echo '<td><label for="tpl__' . hsc($key) . '">' . $name . '</label></td>'; 93 echo '<td><input type="' . $this->colorType($value) . '" name="tpl[' . hsc($key) . ']" ' . 94 'id="tpl__' . hsc($key) . '" value="' . hsc($this->colorValue($value)) . '" ' . 201 foreach ($INPUT->arr('tpl') as $key => $val) { 202 $ini .= $key . ' = "' . addslashes($val) . '"' . "\n";
|
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | Enclosure.php | 294 * @param int $key 297 public function get_caption($key = 0) argument 300 if (isset($captions[$key])) { 301 return $captions[$key]; 324 * @param int $key 327 public function get_category($key = 0) argument 330 if (isset($categories[$key])) { 331 return $categories[$key]; 382 * @param int $key 385 public function get_credit($key argument 504 get_hash($key = 0) global() argument 563 get_keyword($key = 0) global() argument 651 get_rating($key = 0) global() argument 681 get_restriction($key = 0) global() argument 740 get_thumbnail($key = 0) global() argument [all...] |