Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 111) sorted by relevance

12345

/dokuwiki/inc/Form/
H A DValueElement.php19 protected $value = ''; variable in dokuwiki\\Form\\ValueElement
23 * @param string $value
26 public function __construct($type, $value, $attributes = array()) argument
29 $this->val($value);
35 * @param null|string $value
38 public function val($value = null) argument
40 if ($value !== null) {
41 $this->value = $value;
44 return $this->value;
H A DDropdownElement.php107 * @param null|string $value New value to set
110 public function attr($name, $value = null) argument
117 return parent::attr($name, $value);
126 * @param null|string $value The value to set
129 public function val($value = null) argument
131 if ($value === null) return $this->value;
136 $this->value = $value;
139 $this->value = $this->getFirstOption();
170 * @param string $value
173 protected function setValueInOptGroups($value) argument
[all …]
H A DElement.php54 * @param null|string $value New value to set
57 public function attr($name, $value = null) argument
60 if ($value !== null) {
61 $this->attributes[$name] = $value;
146 * @param null|string $value
149 public function val($value = null) argument
151 return $this->attr('value', $value);
H A DTextareaElement.php31 * @param null|string $value
34 public function val($value = null) argument
36 if ($value !== null) {
37 $this->text = cleanText($value);
H A DOptGroup.php9 protected $value; variable in dokuwiki\\Form\\OptGroup
26 * @param string $value
29 public function storeValue($value) argument
31 $this->value = $value;
32 return isset($this->options[$value]);
100 $selected = ((string)$key === (string)$this->value) ? ' selected="selected"' : '';
H A DInputElement.php131 $value = $INPUT->str($name);
133 $value = $INPUT->arr($name);
134 if (isset($value[$key])) {
135 $value = $value[$key];
137 $value = '';
140 $this->val($value);
/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php45 $value = $matches[$i][2];
61 $value = $arr;
63 $value = $this->readValue($value);
66 $config[$key] = $value;
75 * @param string $value
86 if($value == 'true') {
87 $value = true;
89 $value = false;
92 $value = preg_replace($removequotes_pattern, '$2', $value);
93 $value = strtr($value, $unescape_pairs);
[all …]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingOnoff.php14 protected function cleanValue($value) { argument
15 if($value === null) return null;
17 if(is_string($value)) {
18 if(strtolower($value) === 'false') return 0;
19 if(strtolower($value) === 'off') return 0;
20 if(trim($value) === '') return 0;
23 return (int) (bool) $value;
31 $value = $this->protected;
38 $checked = ($value) ? ' checked="checked"' : '';
51 $value = is_null($this->local) ? $this->default : $this->local;
[all …]
H A DSettingString.php14 $value = $this->protected;
18 $value = $this->input;
20 $value = is_null($this->local) ? $this->default : $this->local;
25 $value = htmlspecialchars($value);
29 ']" type="text" class="edit" value="' . $value . '" ' . $disable . '/>';
H A DSettingArray.php47 $value = is_null($this->local) ? $this->default : $this->local;
48 if($value == $input) return false;
87 $value = $this->protected;
91 $value = $this->input;
93 $value = is_null($this->local) ? $this->default : $this->local;
98 $value = htmlspecialchars($this->fromArray($value));
102 ']" type="text" class="edit" value="' . $value . '" ' . $disable . '/>';
H A DSettingMulticheckbox.php22 $value = is_null($this->local) ? $this->default : $this->local;
23 if($value == $input) return false;
41 $value = $this->protected;
45 $value = $this->input;
47 $value = is_null($this->local) ? $this->default : $this->local;
54 $value = $this->str2array($value);
59 $idx = array_search($choice, $value);
77 if($idx !== false) unset($value[$idx]);
83 $other = join(',', $value);
89 (count($default) == count($value)) &&
[all …]
H A DSetting.php43 foreach($params as $property => $value) {
45 $this->$property = $value;
79 $value = is_null($this->local) ? $this->default : $this->local;
80 if($value == $input) return false;
104 * @param mixed $value
107 protected function cleanValue($value) { argument
108 return $value;
191 $value = $this->protected;
195 $value = $this->input;
197 $value = is_null($this->local) ? $this->default : $this->local;
[all …]
H A DSettingMultichoice.php18 $value = $this->protected;
21 $value = is_null($this->local) ? $this->default : $this->local;
25 if(!in_array($value, $this->choices)) {
26 $this->choices[] = $value;
41 $selected = ($value == $choice) ? ' selected="selected"' : '';
63 $value = is_null($this->local) ? $this->default : $this->local;
64 if($value == $input) return false;
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DRating.php70 var $value; variable in SimplePie_Rating
78 public function __construct($scheme = null, $value = null) argument
81 $this->value = $value;
117 if ($this->value !== null)
119 return $this->value;
H A DRestriction.php78 var $value; variable in SimplePie_Restriction
86 public function __construct($relationship = null, $type = null, $value = null) argument
90 $this->value = $value;
141 if ($this->value !== null)
143 return $this->value;
/dokuwiki/inc/Input/
H A DInput.php121 return $value;
128 * @param mixed $value Value to set
130 public function set($name, $value) argument
132 $this->access[$name] = $value;
168 if ($value === '') return $default;
171 return (int)$value;
189 return (string)$value;
232 return (bool)$value;
278 $value = array_shift($keys);
279 if ($value === 0) {
[all …]
H A DGet.php22 * @param mixed $value Value to set
24 public function set($name, $value) argument
26 parent::set($name, $value);
27 $_REQUEST[$name] = $value;
H A DPost.php23 * @param mixed $value Value to set
25 public function set($name, $value) argument
27 parent::set($name, $value);
28 $_REQUEST[$name] = $value;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php880 $temp->value = gmp_add($this->value, $y->value);
885 $temp->value = bcadd($this->value, $y->value, 0);
1009 $temp->value = gmp_sub($this->value, $y->value);
1014 $temp->value = bcsub($this->value, $y->value, 0);
1142 $temp->value = gmp_mul($this->value, $x->value);
1147 $temp->value = bcmul($this->value, $x->value, 0);
1429 list($quotient->value, $remainder->value) = gmp_div_qr($this->value, $y->value);
1444 …$remainder->value = bcadd($remainder->value, $y->value[0] == '-' ? substr($y->value, 1) : $y->valu…
1676 $temp->value = gmp_powm($this->value, $e->value, $n->value);
1729 $temp->value = bcpowmod($this->value, $e->value, $n->value, 0);
[all …]
/dokuwiki/lib/scripts/jquery/
H A Djquery.cookie.js31 function stringifyCookieValue(value) { argument
32 return encode(config.json ? JSON.stringify(value) : String(value));
51 var value = config.raw ? s : parseCookieValue(s);
52 return $.isFunction(converter) ? converter(value) : value;
55 var config = $.cookie = function (key, value, options) {
59 if (value !== undefined && !$.isFunction(value)) {
68 encode(key), '=', stringifyCookieValue(value),
92 result = read(cookie, value);
/dokuwiki/lib/plugins/styling/
H A Dadmin.php81 foreach ($replacements as $key => $value) {
88 …echo '<td><input type="'.$this->colorType($value).'" name="tpl['.hsc($key).']" id="tpl__'.hsc($key…
89 … value="'.hsc($this->colorValue($value)).'" dir="ltr" required="required"/></td>';
119 * @param string $value
122 protected function colorValue($value) argument
124 if (preg_match('/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/', $value, $match)) {
127 return $value;
133 * @param string $value
136 protected function colorType($value) argument
138 if (preg_match('/^#([0-9a-fA-F]{3}){1,2}$/', $value)) {
/dokuwiki/lib/scripts/
H A Deditor.js136 var search = "\n"+this.value.substr(0,selection.start);
153 if (match2 && this.value.substr(selection.start).match(/^($|\r?\n)/)) {
154 this.value = this.value.substr(0, linestart) + "\n" +
155 this.value.substr(selection.start);
173 this.value = this.value.substr(0,linestart)+
174 this.value.substr(linestart+2);
178 this.value = this.value.substr(0,linestart)+
179 this.value.substr(selection.start);
191 this.value = this.value.substr(0,linestart)+' '+
192 this.value.substr(linestart);
/dokuwiki/inc/
H A Dform.php135 if (is_null($value))
138 $this->_hidden[$name] = $value;
422 if ($value == '') $value = $act;
468 * @param string $value
492 * @param string $value
565 * @param string $value
575 if (is_null($value) || $value=='') $value='0';
590 * @param string $value
600 if (is_null($value) || $value=='') $value='0';
838 $value = $attrs['value'];
[all …]
/dokuwiki/inc/parser/
H A Dparser.php71 public function __set($name, $value) argument
75 $this->handler = $value;
80 $this->lexer = $value;
84 $this->deprecationHelperMagicSet($name, $value);
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Net/
H A DIPv6.php237 $value = hexdec($ipv6_part);
238 if (dechex($value) !== strtolower($ipv6_part) || $value < 0 || $value > 0xFFFF)
245 $value = (int) $ipv4_part;
246 if ((string) $value !== $ipv4_part || $value < 0 || $value > 0xFF)

12345