Home
last modified time | relevance | path

Searched refs:value (Results 26 – 50 of 118) sorted by path

12345

/dokuwiki/inc/Ui/
H A DDiff.php68 * @param string|array $prefs a key name or key-value pair(s)
69 * @param mixed $value value used when the first args is string
72 public function preference($prefs = null, $value = null) argument
75 if (is_string($prefs) && isset($value)) {
76 $this->preference[$prefs] = $value;
79 foreach ($prefs as $name => $value) {
80 $this->preference[$name] = $value;
H A DMediaDiff.php289 if ($tag['value'] != $rev2Tags[$key]['value']) {
292 } elseif (!$tag['value'] || !$rev2Tags[$key]['value']) {
304 $value = cleanText($tag['value']);
305 if (!$value) $value = '-';
310 echo dformat($value);
312 echo hsc($value);
[all...]
H A DSubscribe.php91 $value = (array_key_exists($INPUT->post->str('sub_target'), $targets)) ?
94 $data = ($value === $val) ? ['checked' => 'checked'] : [];
101 $value = (array_key_exists($INPUT->post->str('sub_style'), $styles)) ?
104 $data = ($value === $val) ? ['checked' => 'checked'] : [];
/dokuwiki/inc/
H A Dcommon.php42 * filled up with the $default value. If the input string contains more elements, the last
48 * @param mixed $default The value to use when filling up missing elements
63 * with a NULL value without warning.
149 $ret = '<div class="no"><input type="hidden" name="sectok" value="' . getSecurityToken() . '" /></div>' . "\n";
349 * @param array $params array with key-value pairs
374 * @param array $params array with (attribute name-attribute value) pairs
1341 * @param string[] $replace Additional string substitutions, @KEY@ to be replaced by value
1485 * strftime - %f can be used to get the value from datetime_h()
1573 * @param string $value PHP size shorthand
1576 function php_to_byte($value)
1555 php_to_byte($value) global() argument
[all...]
H A Dfetch.functions.php111 * There is no additional checking, just the encoding and setting the key=value for usage in headers
115 * @param string $value value of the field to be set in the header() call
116 * @param string $charset used charset for the encoding of value
118 * @return string in the format " name=value" for values WITHOUT special characters
119 * @return string in the format " name*=charset'lang'value" for values WITH special characters
121 function rfc2231_encode($name, $value, $charset = 'utf-8', $lang = 'en')
126 $value
128 if ($value != $internal) {
131 return ' ' . $name . '="' . $value
114 rfc2231_encode($name, $value, $charset = 'utf-8', $lang = 'en') global() argument
[all...]
H A Dform.php125 * Adds a name/value pair as a hidden field.
126 * The value of the field (but not the name) will be passed to
130 * @param string $value Field value. If null, remove a previously added field.
134 public function addHidden($name, $value)
136 if (is_null($value))
138 else $this->_hidden[$name] = $value;
230 * Gets the position of the first element with a matching attribute value.
233 * @param string $value Attribute value
133 addHidden($name, $value) global() argument
238 findElementByAttribute($name, $value) global() argument
421 form_makeButton($type, $act, $value = '', $attrs = array()) global() argument
450 form_makeField($type, $name, $value = '', $label = null, $id = '', $class = '', $attrs = array()) global() argument
476 form_makeFieldRight($type, $name, $value = '', $label = null, $id = '', $class = '', $attrs = array()) global() argument
500 form_makeTextField($name, $value = '', $label = null, $id = '', $class = '', $attrs = array()) global() argument
573 form_makeCheckboxField($name, $value = '1', $label = null, $id = '', $class = '', $attrs = array()) global() argument
598 form_makeRadioField($name, $value = '1', $label = null, $id = '', $class = '', $attrs = array()) global() argument
[all...]
H A Dfulltext.php355 * @param array $results search results in the form pageid => value
385 * adapted argument order and return value.
620 foreach ($args[0] as $key => $value) {
621 $result[$key] = $value;
880 // build return value
H A Dhtml.php195 * @param string[] $params key-value pairs added as hidden inputs
227 $html .= '<input type="hidden" name="' . $key . '" value="' . hsc($val) . '" />';
969 $out .= ' <param name="movie" value="' . hsc($swf) . '" />' . NL;
974 $out .= ' <param name="' . hsc($key) . '" value="' . hsc($val) . '" />' . NL;
979 $out .= ' <param name="FlashVars" value="' . buildURLparams($flashvars) . '" />' . NL;
1051 $value = filesize_h(abs($sizechange));
1054 $value = '+' . $value;
1057 $value = '-' . $value;
[all...]
H A Dindexer.php
H A Dmedia.php181 // get current value
185 $value = tpl_img_getTag($tags, '', $src);
186 $value = cleanText($value);
200 )->id($p['id'])->addClass($p['class'])->val($value);
203 ->val(formText($value))
915 * @param array $values allowed values, where default value has index key 'default'
916 * @return string the parameter value
1210 * @param string $alt alternative value
1246 $value
[all...]
H A Dparserutils.php39 * Use this if it is unlikely that the metadata value you are requesting
241 * @param string $key The key of the metdata value that shall be read (by default everything)
331 * @param array $data is an array with key ⇒ value pairs to be set in the metadata
333 * @param boolean $persistent indicates whether or not the particular metadata value will persist through
361 foreach ($data as $key => $value) {
364 foreach ($value as $subkey => $subvalue) {
384 // these keys, must have subkeys - a legitimate value must be an array
385 if (is_array($value)) {
387 $value :
388 array_replace((array)$meta['current'][$key], $value);
[all...]
H A Dtemplate.php409 * instances. Attributes are given as key value pairs. Values will be HTML
730 * value of "off" to instruct the browser to disable it's own built in
1066 * value is found. If no value is found $alt is returned.
1124 echo dformat($tag['value']);
1126 echo hsc($tag['value']);
1138 * - string type type of value
1139 * - string value tag value (unescaped)
1159 $value
[all...]
/dokuwiki/inc/parser/
H A Dhandler.php96 * @param mixed $value
98 public function setStatus($status, $value)
100 $this->status[$status] = $value;
173 * $options is parsed for key value pairs separated by commas.
174 * A value might also be missing in which case the value will simple
178 * @param string $options space separated list of key-value pairs,
180 * @return array|null Array of key-value pairs $array['key'] = 'value';
194 $value
92 setStatus($status, $value) global() argument
[all...]
H A Dparser.php64 public function __set($name, $value)
68 $this->handler = $value;
73 $this->lexer = $value;
77 $this->deprecationHelperMagicSet($name, $value);
71 __set($name, $value) global() argument
/dokuwiki/lib/exe/
H A Dcss.php269 * @param array $replacements array(placeholder => value)
277 // and build a list of variable: value; pairs
279 foreach ((array)$replacements as $key => $value) {
282 $less .= "$lkey: $value;\n";
/dokuwiki/lib/plugins/acl/
H A Dscript.js55 jQuery('#acl__user input').toggle(this.value === '__g__' ||
56 this.value === '__u__');
/dokuwiki/lib/plugins/authad/adLDAP/collections/
H A DadLDAPCollection.php96 foreach ($this->info[0][strtolower($attribute)] as $key => $value) {
98 $array[$key] = $value;
115 * @param string $value
118 abstract public function __set($attribute, $value); argument
H A DadLDAPComputerCollection.php41 public function __set($attribute, $value) argument
H A DadLDAPContactCollection.php41 public function __set($attribute, $value) argument
H A DadLDAPGroupCollection.php41 public function __set($attribute, $value) argument
H A DadLDAPUserCollection.php41 public function __set($attribute, $value) argument
/dokuwiki/lib/plugins/authldap/
H A Dauth.php253 // $key = array($key=>$regexp), only handles the first key-value
320 * @param array $changes array of field/value pairs to be changed (password will be clear text)
465 $value = $placeholders[$match][0];
467 $value = $placeholders[$match];
469 $value = $this->filterEscape($value);
470 $filter = str_replace('%{' . $match . '}', $value, $filter);
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php252 * @param array $changes array of field/value pairs to be changed (password will be clear text)
662 foreach ($arguments as $key => $value) {
663 if (is_array($value)) continue;
664 if (is_object($value)) continue;
668 if (is_int($value)) {
669 $sth->bindValue($key, $value, PDO::PARAM_INT);
671 $sth->bindValue($key, $value);
673 $params[$key] = $value; //remember for debugging
/dokuwiki/lib/plugins/authplain/
H A Dauth.php177 * @param array $changes array of field/value pairs to be changed (password will be clear text)
201 foreach ($changes as $field => $value) {
203 $newuser = $value;
206 if ($field == 'pass') $value = auth_cryptPassword($value);
207 $userinfo[$field] = $value;
/dokuwiki/lib/plugins/config/
H A Dadmin.php95 echo '<div class="no"><input type="hidden" name="id" value="' . $ID . '" /></div>';
133 ? ' class="value error"'
134 : ' class="value"';
190 echo '<input type="hidden" name="do" value="admin" />';
191 echo '<input type="hidden" name="page" value="config" />';
194 echo '<input type="hidden" name="save" value="1" />';
285 * @param string $value
287 public function addLang($key, $value)
290 $this->lang[$key] = $value;
278 addLang($key, $value) global() argument

12345