Home
last modified time | relevance | path

Searched refs:key (Results 26 – 50 of 116) sorted by path

12345

/dokuwiki/inc/
H A Dcache.php14 public function __construct($key, $ext)
17 parent::__construct($key, $ext);
13 __construct($key, $ext) global() argument
H A Dcommon.php349 * @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 Dconfutils.php149 [$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 Ddeprecated.php66 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 Dform.php18 * 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 Dfulltext.php620 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 Dhtml.php188 * 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 Dindexer.php348 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 Dmedia.php79 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 Dpageutils.php
H A Dparserutils.php241 * @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 Dtemplate.php409 * 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 Dhandler.php173 * $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 Dinstall.php248 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 Dcss.php279 foreach ((array)$replacements as $key => $value) {
280 $lkey = trim($key, '_');
284 $replacements[$key] = $lkey;
/dokuwiki/lib/plugins/authad/adLDAP/
H A DadLDAP.php879 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 DadLDAPUtils.php233 public function encode8Bit(&$item, $key) { argument
242 if ($encode === true && $key != 'password') {
/dokuwiki/lib/plugins/authad/adLDAP/collections/
H A DadLDAPCollection.php96 foreach ($this->info[0][strtolower($attribute)] as $key => $value) {
97 if ((string)$key != 'count') {
98 $array[$key] = $value;
/dokuwiki/lib/plugins/authad/
H A Dauth.php700 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 Dauth.php250 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 Dauth.php372 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 Dauth.php397 foreach (array_keys($protected) as $key) {
398 $protected[$key]['protected'] = true;
/dokuwiki/lib/plugins/config/
H A Dadmin.php284 * @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 DConfigParser.php17 /** @var string the key to mark sub arrays */
51 $key = preg_replace('/.\]\[./', $this->keymarker, $matches[$i][1]);
69 $config[$key] = $value;
H A DConfiguration.php110 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...]

12345