/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 in dokuwiki\\Form\\ValueElement 23 * @param string $value 26 public function __construct($type, $value, $attributes = []) argument 29 $this->val($value); 33 * Get or set the element's value 35 * @param null|string $value 38 public function val($value argument [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) argument 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 149 val($value = null) global() argument [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) argument 36 if ($value !== null) { 37 $this->text = cleanText($value);
|
H A D | DropdownElement.php | 55 * * the value being an array of options as defined in @param null|array $optGroups 78 * Options can be given as associative array (value => label) or as an 79 * indexd array (label = value) or as an array of arrays. In the latter 81 * option-value => array ( 84 * attr-key => attr-value, ... 101 * Get or set the current value 103 * When setting a value that is not defined in the options, the value is ignored 104 * and the first option's value is selected instead 106 * @param null|string|string[] $value Th 109 val($value = null) global() argument [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); 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) argument 16 if ($value === null) return null; 18 if (is_string($value)) { 19 if (strtolower($value) === 'false') return 0; 20 if (strtolower($value) === 'off') return 0; 21 if (trim($value) === '') return 0; 24 return (int) (bool) $value; 33 $value = $this->protected; 36 $value = is_null($this->local) ? $this->default : $this->local; 40 $checked = ($value) [all...] |
H A D | Setting.php | 15 /** @var mixed the default value of this setting */ 17 /** @var mixed the local value of this setting */ 19 /** @var mixed the protected value of this setting */ 35 * @see initialize() to set the actual value of the setting 45 foreach ($params as $property => $value) { 47 $this->$property = $value; 57 * @see update() to set a new value 58 * @param mixed $default default setting value 59 * @param mixed $local local setting value 60 * @param mixed $protected protected setting value 107 cleanValue($value) global() argument [all...] |
H A D | SettingString.php | 16 $value = $this->protected; 19 $value = $this->input; 21 $value = is_null($this->local) ? $this->default : $this->local; 25 $value = htmlspecialchars($value); 29 ']" type="text" class="edit" value="' . $value . '" ' . $disable . '/>';
|
H A D | SettingArray.php | 37 * update setting with user provided value $input 38 * if value fails error check, save it 50 $value = is_null($this->local) ? $this->default : $this->local; 51 if ($value == $input) return false; 71 $value = $this->protected; 74 $value = $this->input; 76 $value = is_null($this->local) ? $this->default : $this->local; 80 $value = htmlspecialchars($this->fromArray($value)); 84 ']" type="text" class="edit" value [all...] |
H A D | SettingMultichoice.php | 20 $value = $this->protected; 23 $value = is_null($this->local) ? $this->default : $this->local; 26 // ensure current value is included 27 if (!in_array($value, $this->choices)) { 28 $this->choices[] = $value; 43 $selected = ($value == $choice) ? ' selected="selected"' : ''; 52 $input .= ' <option value="' . $choice . '"' . $selected . ' >' . $option . '</option>' . "\n"; 66 $value = is_null($this->local) ? $this->default : $this->local; 67 if ($value == $input) return false;
|
H A D | SettingMulticheckbox.php | 23 $value = is_null($this->local) ? $this->default : $this->local; 24 if ($value == $input) return false; 43 $value = $this->protected; 46 $value = $this->input; 48 $value = is_null($this->local) ? $this->default : $this->local; 54 $value = $this->str2array($value); 59 $idx = array_search($choice, $value); 72 '][]" type="checkbox" class="checkbox" value="' . $choice . '" ' . $disable . ' ' . $checked . "/>\n"; 76 if ($idx !== false) unset($value[ [all...] |
/dokuwiki/lib/plugins/config/core/ |
H A D | ConfigParser.php | 48 $value = $matches[$i][2]; 54 if (preg_match('/^array ?\((.*)\)/', $value, $match)) { 64 $value = $arr; 66 $value = $this->readValue($value); 69 $config[$key] = $value; 76 * Convert php string into value 78 * @param string $value argument 81 protected function readValue($value) 90 if ($value [all...] |
/dokuwiki/vendor/kissifrot/php-ixr/src/Message/ |
H A D | Error.php | 26 <value> 30 <value><int>{$this->code}</int></value> 34 <value><string>{$this->message}</string></value> 37 </value>
|
/dokuwiki/inc/Input/ |
H A D | Get.php | 22 * @param mixed $value Value to set 24 public function set($name, $value) argument 26 parent::set($name, $value); 27 $_REQUEST[$name] = $value;
|
H A D | Post.php | 22 * @param mixed $value Value to set 24 public function set($name, $value) 26 parent::set($name, $value); 27 $_REQUEST[$name] = $value; 25 set($name, $value) global() argument
|
H A D | Input.php | 42 * Apply the set filter to the given value 118 $value = $this->applyfilter($this->access[$name]); 119 if ($nonempty && empty($value)) return $default; 120 return $value; 127 * @param mixed $value Value to set 129 public function set($name, $value) 131 $this->access[$name] = $value; 138 * and intialized with the given $default value before a reference is returned 141 * @param mixed $default If parameter is not set, initialize with this value 130 set($name, $value) global() argument [all...] |
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 60 private $value; 63 * Mode independent value used for serialization. 173 $this->value = clone $x; 175 $this->value = new static("$x"); 176 $this->value->setPrecision($x->getPrecision()); 178 $this->value = new self::$mainEngine($x, $base); 189 return $this->value->toString(); 197 return (string)$this->value; 207 return $this->value->__debugInfo(); 218 return $this->value 104 const VALUE = 0; global() define in phpseclib\\Math\\BigInteger 191 var $value; global() variable in phpseclib\\Math\\BigInteger 1328 _baseSquare($value) global() argument 1367 _karatsubaSquare($value) global() argument 3622 _trim($value) global() argument [all...] |
/dokuwiki/vendor/kissifrot/php-ixr/src/DataType/ |
H A D | Value.php | 5 class Value class 19 foreach ($this->data as $key => $value) { 20 $this->data[$key] = new Value($value); 25 $this->data[$i] = new Value($this->data[$i]); 69 // Return XML for this value 82 $return .= ' <value>' . $item->getXml() . "</value>\n"; 89 foreach ($this->data as $name => $value) { 91 $return .= " <member><name>$name</name><value>"; [all...] |
/dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
H A D | BaseDataCache.php | 70 * Fetches a value from the cache. 78 * @param mixed $default Default value to return if the key does not exist. 80 * @return array|mixed The value of the item from the cache, or $default in case of cache miss. 83 * MUST be thrown if the $key string is not a legal value. 114 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; 118 * @param array $value The value of the item to store, must be serializable. 119 * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and 120 * the driver supports TTL then the library may set a default value 128 set_data(string $key, array $value, int $ttl = null) global() argument [all...] |
H A D | DataCache.php | 66 * Fetches a value from the cache. 74 * @param mixed $default Default value to return if the key does not exist. 76 * @return array|mixed The value of the item from the cache, or $default in case of cache miss. 79 * MUST be thrown if the $key string is not a legal value. 88 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; 92 * @param array $value The value of the item to store, must be serializable. 93 * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and 94 * the driver supports TTL then the library may set a default value 102 set_data(string $key, array $value, int $ttl = null) global() argument [all...] |
H A D | Psr16.php | 78 * Fetches a value from the cache. 86 * @param mixed $default Default value to return if the key does not exist. 88 * @return array|mixed The value of the item from the cache, or $default in case of cache miss. 91 * MUST be thrown if the $key string is not a legal value. 109 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; 113 * @param array $value The value of the item to store, must be serializable. 114 * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and 115 * the driver supports TTL then the library may set a default value 123 set_data(string $key, array $value, int $ttl = null) global() argument [all...] |
/dokuwiki/lib/scripts/jquery/ |
H A D | jquery.cookie.js | 31 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), [all...] |
/dokuwiki/inc/ |
H A D | form.php | 125 * 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...] |
/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/vendor/kissifrot/php-ixr/src/Request/ |
H A D | Request.php | 5 use IXR\DataType\Value; alias 31 $this->xml .= '<param><value>'; 32 $v = new Value($arg); 34 $this->xml .= "</value></param>\n";
|