/dokuwiki/lib/plugins/config/core/ |
H A D | ConfigParser.php | 45 $value = $matches[$i][2]; variable 51 if(preg_match('/^array ?\((.*)\)/', $value, $match)) { 61 $value = $arr; variable 63 $value = $this->readValue($value); variable 66 $config[$key] = $value; 73 * Convert php string into value 75 * @param string $value 78 protected function readValue($value) { 86 if($value 87 $value = true; global() variable 89 $value = false; global() variable 92 $value = preg_replace($removequotes_pattern, '$2', $value); global() variable 93 $value = strtr($value, $unescape_pairs); global() variable [all...] |
/dokuwiki/inc/Form/ |
H A D | ValueElement.php | 8 * Just like an Element but it's value is not part of its attributes 10 * What the value is (tag name, content, etc) is defined by the actual implementations 17 * @var string holds the element's value 19 protected $value = ''; variable 23 * @param string $value 26 public function __construct($type, $value, $attributes = array()) 29 $this->val($value); 33 * Get or set the element's value 35 * @param null|string $value 38 public function val($value 41 $this->value = $value; global() variable [all...] |
H A D | DropdownElement.php | 52 * * the value being an array of options as defined in @see OptGroup::options() 75 * Options can be given as associative array (value => label) or as an 76 * indexd array (label = value) or as an array of arrays. In the latter 78 * option-value => array ( 81 * attr-key => attr-value, ... 100 * When no $value is given, the current content of the attribute is returned. 103 * When a $value is given, the content is set to that value and the Element 107 * @param null|string $value New value t 136 $this->value = $value; global() variable 139 $this->value = $this->getFirstOption(); global() variable 180 $value = null; global() variable [all...] |
H A D | Element.php | 47 * When no $value is given, the current content of the attribute is returned. 50 * When a $value is given, the content is set to that value and the Element 54 * @param null|string $value New value to set 57 public function attr($name, $value = null) 60 if ($value !== null) { 61 $this->attributes[$name] = $value; 142 * Get or set the element's value 144 * This is the preferred way of setting the element's value [all...] |
H A D | OptGroup.php | 9 protected $value; variable 22 * Store the given value so it can be used during rendering 26 * @param string $value 27 * @return bool true if an option with the given value exists, false otherwise 29 public function storeValue($value) 31 $this->value = $value; variable 32 return isset($this->options[$value]); 38 * Options can be given as associative array (value => label) or as an 39 * indexd array (label = value) o [all...] |
H A D | TextareaElement.php | 27 * Get or set the element's value 29 * This is the preferred way of setting the element's value 31 * @param null|string $value 34 public function val($value = null) 36 if ($value !== null) { 37 $this->text = cleanText($value);
|
H A D | InputElement.php | 91 * Figures out how to access the value for this field from INPUT data 98 * correct value yourself 121 * Handles the useInput flag and set the value attribute accordingly 131 $value = $INPUT->str($name); variable 133 $value = $INPUT->arr($name); variable 134 if (isset($value[$key])) { 135 $value = $value[$key]; variable 137 $value = ''; variable 140 $this->val($value); [all...] |
H A D | CheckableElement.php | 22 // default value is 1 23 $this->attr('value', 1); 38 // no key - single value 39 $value = $INPUT->str($name); variable 40 if ($value == $myvalue) { 56 foreach ($input as $value) { 57 if ($value == $myvalue) {
|
/dokuwiki/lib/plugins/config/core/Setting/ |
H A D | SettingOnoff.php | 14 protected function cleanValue($value) { 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; variable 34 $value = is_null($this->local) ? $this->default : $this->local; variable 38 $checked = ($value) 51 $value = is_null($this->local) ? $this->default : $this->local; global() variable [all...] |
H A D | SettingString.php | 14 $value = $this->protected; variable 18 $value = $this->input; variable 20 $value = is_null($this->local) ? $this->default : $this->local; variable 25 $value = htmlspecialchars($value); variable 29 ']" type="text" class="edit" value="' . $value . '" ' . $disable . '/>';
|
H A D | SettingMulticheckbox.php | 22 $value = is_null($this->local) ? $this->default : $this->local; variable 23 if($value == $input) return false; 41 $value = $this->protected; variable 45 $value = $this->input; variable 47 $value = is_null($this->local) ? $this->default : $this->local; variable 54 $value = $this->str2array($value); variable 59 $idx = array_search($choice, $value); 73 '][]" type="checkbox" class="checkbox" value="' . $choice . '" ' . $disable . ' ' . $checked . "/>\n"; 77 if($idx !== false) unset($value[ [all...] |
H A D | SettingArray.php | 35 * update setting with user provided value $input 36 * if value fails error check, save it 47 $value = is_null($this->local) ? $this->default : $this->local; variable 48 if($value == $input) return false; 87 $value = $this->protected; variable 91 $value = $this->input; variable 93 $value = is_null($this->local) ? $this->default : $this->local; variable 98 $value = htmlspecialchars($this->fromArray($value)); variable 102 ']" type="text" class="edit" value [all...] |
H A D | Setting.php | 14 /** @var mixed the default value of this setting */ 16 /** @var mixed the local value of this setting */ 18 /** @var mixed the protected value of this setting */ 34 * @see initialize() to set the actual value of the setting 43 foreach($params as $property => $value) { 45 $this->$property = $value; 55 * @see update() to set a new value 56 * @param mixed $default default setting value 57 * @param mixed $local local setting value 58 * @param mixed $protected protected setting value 79 $value = is_null($this->local) ? $this->default : $this->local; global() variable 191 $value = $this->protected; global() variable 195 $value = $this->input; global() variable 197 $value = is_null($this->local) ? $this->default : $this->local; global() variable 202 $value = formText($value); global() variable [all...] |
H A D | SettingMultichoice.php | 18 $value = $this->protected; variable 21 $value = is_null($this->local) ? $this->default : $this->local; variable 24 // ensure current value is included 25 if(!in_array($value, $this->choices)) { 26 $this->choices[] = $value; 41 $selected = ($value == $choice) ? ' selected="selected"' : ''; 50 $input .= ' <option value="' . $choice . '"' . $selected . ' >' . $option . '</option>' . "\n"; 63 $value = is_null($this->local) ? $this->default : $this->local; variable 64 if($value == $input) return false;
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 16 * value when multiplying two base-2**26 numbers together is a base-2**52 number, double precision floating 23 * (new \phpseclib\Math\BigInteger(pow(2, 26)))->value = array(0, 1) 102 * $result[self::VALUE] contains the value. 186 * Holds the BigInteger's value. 191 var $value; variable 218 * Mode independent value used for serialization. 220 * If the bcmath or gmp extensions are installed $this->value will be a non-serializable resource, hence the need for 221 * a variable that'll be serializable regardless of whether or not extensions are being used. Unlike $this->value, 339 $this->value = $x; variable 342 $this->value variable 345 $this->value = '0'; global() variable 348 $this->value = array(); global() variable 366 $this->value = function_exists('gmp_import') ? global() variable 370 $this->value = gmp_neg($this->value); global() variable 380 $this->value = bcmul($this->value, '4294967296', 0); // 4294967296 == 2**32 global() variable 381 $this->value = bcadd($this->value, 0x1000000 * ord($x[$i]) + ((ord($x[$i + 1]) << 16) | (ord($x[$i + 2]) << 8) | ord($x[$i + 3])), 0); global() variable 385 $this->value = '-' . $this->value; global() variable 401 $this->value = $temp->value; global() variable 422 $this->value = gmp_init($temp); global() variable 428 $this->value = $this->is_negative ? '-' . $temp->value : $temp->value; global() variable 434 $this->value = $temp->value; global() variable 439 $this->value = $temp->value; global() variable 454 $this->value = gmp_init($x); global() variable 459 $this->value = $x === '-' ? '0' : (string) $x; global() variable 479 $this->value = $temp->value; global() variable 504 $this->value = $temp->value; global() variable 577 $value = ''; global() variable 586 $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value; global() variable 814 $this->value = $temp->value; global() variable 944 $value = $y_value; global() variable 947 $value = $x_value; global() variable 2790 $this->value = $temp->value; global() variable 3323 $this->value = bcadd($this->value, '1'); global() variable 3430 $value = $this->value; global() variable 3541 $this->value = array_slice($this->value, $num_digits); global() variable 3552 $this->value = $this->_trim($this->value); global() variable 3592 $value = &$result->value; global() variable 3599 $value = $this->_trim($value); global() variable 3603 $value = array_slice($value, 0, $length); global() variable [all...] |
/dokuwiki/inc/Input/ |
H A D | Input.php | 43 * Apply the set filter to the given value 119 $value = $this->applyfilter($this->access[$name]); variable 120 if ($nonempty && empty($value)) return $default; 121 return $value; 128 * @param mixed $value Value to set 130 public function set($name, $value) 132 $this->access[$name] = $value; 139 * and intialized with the given $default value before a reference is returned 142 * @param mixed $default If parameter is not set, initialize with this value 167 $value variable 186 $value = $this->applyfilter($this->access[$name]); global() variable 208 $value = $this->applyfilter($this->access[$name]); global() variable 228 $value = $this->applyfilter($this->access[$name]); global() variable 278 $value = array_shift($keys); global() variable 281 $value = array_shift($this->access[$name]); global() variable [all...] |
H A D | Post.php | 23 * @param mixed $value Value to set 25 public function set($name, $value) 27 parent::set($name, $value); 28 $_REQUEST[$name] = $value;
|
H A D | Get.php | 22 * @param mixed $value Value to set 24 public function set($name, $value) 26 parent::set($name, $value); 27 $_REQUEST[$name] = $value;
|
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/ |
H A D | Rating.php | 65 * Rating value 70 var $value; variable 78 public function __construct($scheme = null, $value = null) 81 $this->value = $value; variable 111 * Get the value of the rating 117 if ($this->value !== null) 119 return $this->value;
|
H A D | Restriction.php | 78 var $value; variable 86 public function __construct($relationship = null, $type = null, $value = null) 90 $this->value = $value; variable 141 if ($this->value !== null) 143 return $this->value;
|
/dokuwiki/inc/ |
H A D | form.php | 124 * Adds a name/value pair as a hidden field. 125 * The value of the field (but not the name) will be passed to 129 * @param string $value Field value. If null, remove a previously added field. 133 public function addHidden($name, $value) 135 if (is_null($value)) 138 $this->_hidden[$name] = $value; 230 * Gets the position of the first element with a matching attribute value. 233 * @param string $value Attribute value 328 $value = (array_key_exists($INPUT->post->str($name), $entries)) ? global() variable 838 $value = $attrs['value']; global() variable [all...] |
/dokuwiki/lib/scripts/ |
H A D | editor.js | 53 } // else use default value 72 * @param int val the relative value to resize in pixel 136 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 [all...] |
/dokuwiki/lib/plugins/styling/ |
H A D | admin.php | 81 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) 124 if (preg_match('/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/', $value, $match)) { 127 return $value; 131 * Decide the input type based on the value 133 * @param string $value [all...] |
/dokuwiki/inc/parser/ |
H A D | parser.php | 71 public function __set($name, $value) 75 $this->handler = $value; 80 $this->lexer = $value; 84 $this->deprecationHelperMagicSet($name, $value);
|
/dokuwiki/vendor/marcusschwarz/lesserphp/ |
H A D | lessc.inc.php | 208 if (!empty($block->value)) { 209 $name .= " " . $this->compileValue($this->reduce($block->value)); 487 list(, $value) = $s; 488 $out[] = trim($this->compileValue($this->reduce($value))); 564 // no arg and no default value 637 // sets all argument names in $args to either the default value 647 $value = $keywordValues[$a[1]]; variable 650 $value = $orderedValues[$i]; variable 653 // has default value 654 $value variable 657 $value = null; // :( global() variable 660 $value = $this->reduce($value); global() variable 1137 $value = $this->assertNumber($arg); global() variable 1142 $value = $this->assertNumber($arg); global() variable 1148 $value = $this->assertNumber($arg); global() variable 1151 $value = $this->assertNumber($arg[2][0]); global() variable 1771 $value = $this->assertNumber( $number ); global() variable 1927 $value = 0; global() variable 1930 $value = $left[1] + $right[1]; global() variable 1933 $value = $left[1] * $right[1]; global() variable 1936 $value = $left[1] - $right[1]; global() variable 1939 $value = $left[1] % $right[1]; global() variable 1943 $value = $left[1] / $right[1]; global() variable 2930 $value = lessc::compressList($values, ', '); global() variable 2959 protected function value(&$value) { global() function 2970 $value = array("unary", "-", $inner); global() variable 2984 $value = array('keyword', $word); global() variable 2990 $value = array('variable', $var); global() variable 2996 $value = array("escape", $str); global() variable 3004 $value = array('keyword', '\\\\'.$m[1]); global() variable 3070 $value = null; global() variable [all...] |