/dokuwiki/inc/ |
H A D | cache.php | 14 public function __construct($key, $ext) 17 parent::__construct($key, $ext); 13 __construct($key, $ext) global() argument
|
H A D | common.php | 349 * @param array $params array with key-value pairs 357 foreach ($params as $key => $val) { 360 $url .= rawurlencode($key) . '='; 382 foreach ($params as $key => $val) { 383 if ($key[0] == '_') continue; 387 $url .= $key . '="'; 1896 * be marked by the key “default”. 1920 * @param string $pref preference key 1947 * @param string $pref preference key
|
H A D | confutils.php | 149 [$key, $val] = sexplode('=', $line, 2, ''); 150 $key = trim($key); 152 $versions[$key] = $val; 300 * @param string $type the configuration settings to be read, must correspond to a key/array in $config_cascade 336 * @param string $type the configuration settings to be read, must correspond to a key/array in $config_cascade
|
H A D | deprecated.php | 66 public function __construct($key, array $params = null) 69 parent::__construct($key, $params); 80 public function __construct($key, array $params = null) 83 parent::__construct($key, $params); 94 public function __construct($key, array $params = null) 97 parent::__construct($key, $params); 64 __construct($key, array $params = null) global() argument 78 __construct($key, array $params = null) global() argument 92 __construct($key, array $params = null) global() argument
|
H A D | form.php | 18 * Every pseudo-tag must have the key '_elem' set to the name of the element. 329 $INPUT->str($name) : key($entries); 647 if (is_string(key($values))) { 698 if (is_string(key($values))) { 722 * Requires '_tag' key with name of the tag. 739 * Requires '_tag' key with name of the tag. 756 * Requires '_tag' key with name of the tag. 773 * Uses the '_legend' key.
|
H A D | fulltext.php | 620 foreach ($args[0] as $key => $value) { 621 $result[$key] = $value; 623 if (!isset($args[$i][$key])) { 624 unset($result[$key]); 627 $result[$key] += $args[$i][$key]; 918 foreach (['words', 'phrases', 'highlight', 'ns', 'notns', 'and', 'not'] as $key) { 919 $q[$key] = empty($q[$key]) ? [] : array_values(array_unique($q[$key])); [all...] |
H A D | html.php | 188 * If tooltip exists, the access key tooltip is replaced. 194 * @param string $akey access key 195 * @param string[] $params key-value pairs added as hidden inputs 226 foreach ($params as $key => $val) { 227 $html .= '<input type="hidden" name="' . $key . '" value="' . hsc($val) . '" />'; 973 if (is_array($params)) foreach ($params as $key => $val) { 974 $out .= ' <param name="' . hsc($key) . '" value="' . hsc($val) . '" />' . NL;
|
H A D | indexer.php | 348 foreach (array_keys($filter) as $key) { 349 if (file_exists($path . $key . '.idx')) 350 $idx[] = $key; 364 * Clean a name of a key for use as a file name.
|
H A D | media.php | 79 foreach ($data as $key => $val) { 82 $meta->deleteField($key); 84 $meta->setField($key, $val); 180 foreach ($fields as $key => $field) { 191 'id' => 'meta__' . $key, 915 * @param array $values allowed values, where default value has index key 'default'
|
H A D | pageutils.php |
|
H A D | parserutils.php | 241 * @param string $key The key of the metdata value that shall be read (by default everything) 252 function p_get_metadata($id, $key = '', $render = METADATA_RENDER_USING_CACHE) argument 315 // filter by $key 316 foreach (preg_split('/\s+/', $key, 2, PREG_SPLIT_NO_EMPTY) as $cur_key) { 331 * @param array $data is an array with key ⇒ value pairs to be set in the metadata 361 foreach ($data as $key => $value) { 363 if ($key == 'relation') { 365 if (isset($meta['current'][$key][$subkey]) && is_array($meta['current'][$key][ [all...] |
H A D | template.php | 409 * instances. Attributes are given as key value pairs. Values will be HTML 1137 * - string langkey key to lookup in the $lang var, if not found printed as is 1290 foreach ($tconf as $key => $value) { 1291 if (isset($conf['tpl'][$tpl][$key])) continue; 1292 $conf['tpl'][$tpl][$key] = $value; 1330 * @param string $id key of language string
|
/dokuwiki/inc/parser/ |
H A D | handler.php | 173 * $options is parsed for key value pairs separated by commas. 178 * @param string $options space separated list of key-value pairs, 180 * @return array|null Array of key-value pairs $array['key'] = 'value'; 190 $key = trim($match[0]); 191 $result [$key] = 1; 193 $key = substr($match[0], 0, $equal_sign); 197 $result [$key] = $value; 199 $result [$key] = 1;
|
/dokuwiki/ |
H A D | install.php | 248 foreach ($license as $key => $lic) { 249 echo '<label for="lic_' . $key . '">'; 250 echo '<input type="radio" name="d[license]" value="' . hsc($key) . '" id="lic_' . $key . '"' . 251 (($d['license'] === $key) ? ' checked="checked"' : '') . '>';
|
/dokuwiki/lib/exe/ |
H A D | css.php | 279 foreach ((array)$replacements as $key => $value) { 280 $lkey = trim($key, '_'); 284 $replacements[$key] = $lkey;
|
/dokuwiki/lib/plugins/authad/adLDAP/ |
H A D | adLDAP.php | 879 protected function encode8Bit(&$item, $key) { argument 888 if ($encode === true && $key != 'password') { 906 // Find the current key in the domain controllers array 907 $key = array_search($adController, $this->domainControllers); 909 unset($this->domainControllers[$key]);
|
/dokuwiki/lib/plugins/authad/adLDAP/classes/ |
H A D | adLDAPUtils.php | 233 public function encode8Bit(&$item, $key) { argument 242 if ($encode === true && $key != 'password') {
|
/dokuwiki/lib/plugins/authad/adLDAP/collections/ |
H A D | adLDAPCollection.php | 96 foreach ($this->info[0][strtolower($attribute)] as $key => $value) { 97 if ((string)$key != 'count') { 98 $array[$key] = $value;
|
/dokuwiki/lib/plugins/authad/ |
H A D | auth.php | 700 if ($domain && is_array($this->conf[$domain] ?? '')) foreach ($this->conf[$domain] as $key => $val) { 701 $opts[$key] = $val; 742 * The default domain has an empty string as key 744 * @return array associative array(key => domain) 755 foreach ($this->conf as $key => $val) { 757 $domains[$key] = ltrim($val['account_suffix'], '@');
|
/dokuwiki/lib/plugins/authldap/ |
H A D | auth.php | 250 foreach ($this->getConf('mapping') as $localkey => $key) { 251 if (is_array($key)) { 253 // $key = array($key=>$regexp), only handles the first key-value 254 $regexp = current($key); 255 $key = key($key); 256 if ($user_result[$key]) foreac [all...] |
/dokuwiki/lib/plugins/authpdo/ |
H A D | auth.php | 372 foreach (['user', 'name', 'mail', 'group'] as $key) { 373 if (!isset($filter[$key])) { 374 $filter[$key] = '%'; 376 $filter[$key] = '%' . $filter[$key] . '%'; 411 foreach (['user', 'name', 'mail', 'group'] as $key) { 412 if (!isset($filter[$key])) { 413 $filter[$key] = '%'; 415 $filter[$key] = '%' . $filter[$key] [all...] |
/dokuwiki/lib/plugins/authplain/ |
H A D | auth.php | 397 foreach (array_keys($protected) as $key) { 398 $protected[$key]['protected'] = true;
|
/dokuwiki/lib/plugins/config/ |
H A D | admin.php | 284 * @param string $key 287 public function addLang($key, $value) 290 $this->lang[$key] = $value; 278 addLang($key, $value) global() argument
|
/dokuwiki/lib/plugins/config/core/ |
H A D | ConfigParser.php | 17 /** @var string the key to mark sub arrays */ 51 $key = preg_replace('/.\]\[./', $this->keymarker, $matches[$i][1]); 69 $config[$key] = $value;
|
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...] |