/plugin/combo/ComboStrap/ |
H A D | ArrayUtility.php | 21 * Sort it on the key 26 foreach ($toPrint as $key => $value) { 28 $content .= '<li>' . $key . ' : '; 32 if (preg_match('/date|created|modified/i', $key) && is_numeric($value)) { 36 $content .= '<li>' . $key . ' : ' . $stringValue . '</li>'; 44 * Delete from an array recursively key 51 foreach ($array as $key => &$value) { 52 if (preg_match('/' . $pattern . '/i', $key)) { 53 unset($array[$key]); 61 public static function addIfNotSet(array &$array, $key, argument [all...] |
/plugin/dev/ |
H A D | LangProcessor.php | 43 foreach ($drop as $key => $value) { 46 $this->removeLangKey($file, $subkey, $key); 49 $this->removeLangKey($file, $key); 66 foreach ($drop as $key => $value) { 67 $this->removeLangKey($file, $key); 72 * Remove the given key from the given language file 75 * @param string $key 79 protected function removeLangKey($file, $key, $sub = '') argument 84 $re = '/\$lang\[' . $q . $sub . $q . '\]\[' . $q . $key . $q . '\]/'; 86 $re = '/\$lang\[' . $q . $key [all...] |
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/ |
H A D | Identity.php | 58 private $key; variable in phpseclib3\\System\\SSH\\Agent\\Identity 120 public function withPublicKey($key) argument 122 if ($key instanceof EC) { 123 if (is_array($key->getCurve()) || !isset(self::$curveAliases[$key->getCurve()])) { 129 $new->key = $key; 160 return $this->key; 175 if ($this->key instanceof RSA) { 190 if ($this->key instanceof EC) { 207 if ($this->key instanceof DSA) { 244 if ($this->key instanceof RSA) { [all …]
|
/plugin/scrape/HTMLPurifier/ConfigSchema/Interchange/ |
H A D | Id.php |
|
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Utils/ |
H A D | Map.php | 33 public function contains(Hashable $key) : bool argument 35 $hash = $this->equivalence->hash($key); 42 if ($this->equivalence->equivalent($key, $entryKey)) { 53 public function get(Hashable $key) argument 55 $hash = $this->equivalence->hash($key); 62 if ($this->equivalence->equivalent($key, $entryKey)) { 73 public function put(Hashable $key, $value) : void argument 75 $hash = $this->equivalence->hash($key); 82 if ($this->equivalence->equivalent($key, $entryKey)) { 83 $this->table[$hash][$index] = [$key, 94 remove(Hashable $key) global() argument [all...] |
/plugin/filterrss/ |
H A D | helper.php | 68 protected static $key = ''; variable in helper_plugin_filterrss 71 $a = $a_ar[self::$key]; 72 $b = $b_ar[self::$key]; 77 $a = $a_ar[self::$key]; 78 $b = $b_ar[self::$key]; 84 function int_sort($array, $key) argument 86 self::$key = $key; 90 function nat_sort($array, $key) argument 92 self::$key = $key;
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/ |
H A D | PKCS8.php | 71 * @param string $key 75 public static function load($key, $password = '') argument 77 if (!Strings::is_stringable($key)) { 81 $isPublic = strpos($key, 'PUBLIC') !== false; 83 $key = parent::load($key, $password); 103 $decoded = ASN1::decodeBER($key[$type]); 114 if (isset($key['meta'])) { 115 $components['meta'] = $key['meta']; 143 $key = ASN1::encodeDER($x, Maps\DSAPublicKey::MAP); 167 $key = ASN1::encodeDER($y, Maps\DSAPublicKey::MAP); [all …]
|
/plugin/authfacebook/lib/GraphNodes/ |
H A D | Collection.php | 183 * @param mixed $key 187 public function offsetExists($key) argument 195 * @param mixed $key 199 public function offsetGet($key) argument 201 return $this->items[$key]; 207 * @param mixed $key 214 if (is_null($key)) { 217 $this->items[$key] = $value; 224 * @param string $key 228 public function offsetUnset($key) argument [all …]
|
/plugin/findologicxmlexport/vendor/hoa/zformat/ |
H A D | Parameter.php | 218 * @param string $key Key. 231 $this->_parameters[$key] = $value; 305 substr($key, $lBranch + 1), 361 * @param string $key Key. 371 $old = $this->_keywords[$key]; 374 $this->_keywords[$key] = $value; 518 $key = $submatch[1]; 519 $word = substr($key, 1); 522 if ('%' == $key[0]) { 535 elseif ('_' == $key[0]) { [all …]
|
/plugin/stale/_test/ |
H A D | baseTest.php | 87 foreach ($conf as $key => $value) { 89 $key, 95 foreach ($meta as $key => $value) { 97 $key, 99 … 'Key $conf[\'' . $key . '\'] missing in ' . DOKU_PLUGIN . 'syntax/conf/default.php' 121 foreach ($lang as $key => $value) { 123 $key, 129 foreach ($conf as $key => $value) { 131 $key, 151 foreach ($meta as $key => $value) { [all …]
|
/plugin/icalevents/vendor/sabre/vobject/lib/Property/ICalendar/ |
H A D | Recur.php | 86 foreach ($this->value as $key => $value) { 261 foreach ($values as $key => $value) { 270 unset($values[$key]); 272 } elseif ($key == 'BYMONTH') { 285 unset($values[$key]); 292 unset($values[$key]); 294 } elseif ($key == 'BYWEEKNO') { 307 unset($values[$key]); 314 unset($values[$key]); 316 } elseif ($key == 'BYYEARDAY') { [all …]
|
/plugin/webdav/vendor/sabre/vobject/lib/Property/ICalendar/ |
H A D | Recur.php | 82 foreach ($this->value as $key => $value) { 244 foreach ($values as $key => $value) { 252 unset($values[$key]); 254 } elseif ('BYMONTH' == $key) { 267 unset($values[$key]); 274 unset($values[$key]); 276 } elseif ('BYWEEKNO' == $key) { 289 unset($values[$key]); 296 unset($values[$key]); 298 } elseif ('BYYEARDAY' == $key) { [all …]
|
/plugin/fedauth/Auth/OpenID/ |
H A D | HMAC.php | 53 * @param string $key The HMAC key 57 function Auth_OpenID_HMACSHA1($key, $text) argument 59 if (Auth_OpenID::bytes($key) > Auth_OpenID_SHA1_BLOCKSIZE) { 60 $key = Auth_OpenID_SHA1($key, true); 66 return hash_hmac('sha1', $text, $key, true); 70 $key = str_pad($key, Auth_OpenID_SHA1_BLOCKSIZE, chr(0x00)); 73 $hash1 = Auth_OpenID_SHA1(($key ^ $ipad) . $text, true); 74 $hmac = Auth_OpenID_SHA1(($key ^ $opad) . $hash1, true); 95 function Auth_OpenID_HMACSHA256($key, $text) argument 98 return hash_hmac('sha256', $text, $key, true);
|
/plugin/openid/Auth/OpenID/ |
H A D | HMAC.php | 54 * @param string $key The HMAC key 58 function Auth_OpenID_HMACSHA1($key, $text) argument 60 if (Auth_OpenID::bytes($key) > Auth_OpenID_SHA1_BLOCKSIZE) { 61 $key = Auth_OpenID_SHA1($key); 67 return hash_hmac('sha1', $text, $key, true); 71 $key = str_pad($key, Auth_OpenID_SHA1_BLOCKSIZE, chr(0x00)); 74 $hash1 = Auth_OpenID_SHA1(($key ^ $ipad) . $text); 75 $hmac = Auth_OpenID_SHA1(($key ^ $opad) . $hash1); 96 function Auth_OpenID_HMACSHA256($key, $text) argument 99 return hash_hmac('sha256', $text, $key, true);
|
/plugin/twofactor/ |
H A D | Settings.php | 64 * @param string $key Settings key 67 public function has($key) argument 69 return $this->attribute->exists($this->providerID, $key, $this->user); 75 * @param string $key Settings key 79 public function get($key, $default = null) argument 82 $data = $this->attribute->get($this->providerID, $key, $success, $this->user); 90 * @param string $key Settings key 94 set($key, $value) global() argument 105 delete($key) global() argument [all...] |
/plugin/findologicxmlexport/vendor/sebastian/recursion-context/src/ |
H A D | Context.php | 89 $key = $this->containsArray($array); 91 if ($key !== false) { 92 return $key; 95 $key = count($this->arrays); 99 $array[] = $key; 103 $key = random_int(PHP_INT_MIN, PHP_INT_MAX); 104 } while (isset($array[$key])); 106 $array[$key] = $key; 110 } while (isset($array[$key])); 112 $array[$key] = $this->objects; [all …]
|
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Cache/ |
H A D | CacheInterface.php | 24 * @param string $key A unique key 28 public function has($key); argument 33 * @param string $key A unique key 37 public function get($key); argument 42 * @param string $key A unique key 45 public function set($key, $value); argument 50 * @param string $key A unique key 52 public function remove($key); argument
|
/plugin/sketchcanvas/phplib/ |
H A D | spyc.php | 237 foreach ($array as $key => $value) { 238 if (!isset($first_key)) $first_key = $key; 239 $string .= $this->_yamlize($key,$value,0,$previous_key, $first_key, $array); 240 $previous_key = $key; 247 * Attempts to convert a key / value array item to YAML 250 * @param $key The name of the key 254 private function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0, $source_array = null) { argument 257 return $this->_dumpNode($key, array(), $indent, $previous_key, $first_key, $source_array); 260 $string = $this->_dumpNode($key, sel 302 _dumpNode($key, $value, $indent, $previous_key = 1, $first_key = 0, $source_array = null) global() argument [all...] |
/plugin/memcache/ |
H A D | helper.php | 118 function add($key,$val,$ttl = 0){ argument 119 return memcache::add($key,$val,$ttl); 122 function set($key,$val,$ttl = 0){ argument 123 return memcache::set($key,$val,$ttl); 126 function exists($key){ argument 127 return memcache::exists($key); 130 function del($key){ argument 131 return memcache::del($key); 134 function get($key,&$success = false){ argument 135 return memcache::get($key,$success);
|
/plugin/findologicxmlexport/vendor/hoa/iterator/Test/Unit/ |
H A D | Lookbehind.php | 74 $key = $lookbehind->key(), 80 ->integer($key) 91 $key = $lookbehind->key(), 97 ->integer($key) 108 $key = $lookbehind->key(), 114 ->integer($key) 133 $key = $lookbehind->key(), 138 ->integer($key) 147 $key = $lookbehind->key(), 152 ->integer($key)
|
/plugin/blog/ |
H A D | helper.php | 9 var $sort = ''; // sort key 15 // load sort key from settings 94 // determine the sort key 95 if ($this->sort == 'id') $key = $id; 96 elseif ($this->sort == 'pagename') $key = noNS($id); 97 elseif ($this->sort == 'title') $key = $title; 98 else $key = $date; 100 // get a unique sortable key 101 $key = $this->_uniqueKey($key, 179 _uniqueKey($key, & $unique_keys_memoize) global() argument [all...] |
/plugin/confmanager/configTypes/ |
H A D | ConfigManagerTwoLineRightImageConfigCascade.php | 25 * @param string $key 28 protected function getImagePath($configtype, $key) { argument 30 $path = $this->imageFolder . $configs[$configtype][$key]; 41 * @param string $key key of entry 73 * @param string $key 77 protected function updateValue($key, $value) { argument 83 if($confkey == $key && $confvalue != $value) { 102 $key = $INPUT->str('key'); 103 if ($key === '') { 110 if (isset($configs['default'][$key])) { [all …]
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/ |
H A D | PKCS8.php | 67 * @param string $key 71 public static function load($key, $password = '') argument 73 if (!Strings::is_stringable($key)) { 77 $isPublic = strpos($key, 'PUBLIC') !== false; 79 $key = parent::load($key, $password); 81 $type = isset($key['privateKey']) ? 'privateKey' : 'publicKey'; 90 $decoded = ASN1::decodeBER($key[$type . 'Algorithm']['parameters']->element); 99 $decoded = ASN1::decodeBER($key[$type]); 132 $key = ASN1::encodeDER($privateKey, ['type' => ASN1::TYPE_INTEGER]); 154 $key = ASN1::encodeDER($publicKey, ['type' => ASN1::TYPE_INTEGER]); [all …]
|
/plugin/meta/ |
H A D | syntax.php | 44 list($key, $value) = explode('=', $pair, 2); 45 list($key, $subkey) = explode(' ', $key, 2); 49 $data[trim($key)] = trim($value); 74 unset($data['date'][$key]); 76 $data['date'][$key] = $date; 86 foreach ($data as $key => $value) { 89 if ($key == 'relation') { 103 } elseif (in_array($key, $protected)) { 106 $renderer->meta[$key] = array_merge($renderer->meta[$key], array($value)); 108 $renderer->meta[$key] = $value; [all …]
|
/plugin/directions/syntax/ |
H A D | common.php | 102 foreach ($data as $key=>$value) { 103 $pages = explode("->", $key); 154 foreach ($data as $key=>$value) { 155 $pages = explode("->", $key); 205 $output .= 'title="'.$key.'" '; 206 …$output .= 'href="'.wl($key).'">'.dir_trimPageTitle(dir_get_first_heading($key),$trimLimit).'</a>'; 223 $output .= 'title="'.$key.'" '; 242 foreach ($fanIn as $key=>$value) { 244 $output .= 'title="'.$key.'" '; 245 …$output .= 'href="'.wl($key).'">'.dir_trimPageTitle(dir_get_first_heading($key),$trimLimit).'</a>'; [all …]
|