| /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 = null) 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 146 * @param null|string $value 149 public function val($value = null) 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 The value to set 109 public function val($value = null) argument [all …]
|
| /dokuwiki/vendor/splitbrain/lesserphp/src/Functions/ |
| H A D | Type.php | 37 * Returns true if a value is a number, false otherwise 41 public function isnumber(array $value): array argument 43 return Util::toBool($value[0] == 'number'); 47 * Returns true if a value is a string, false otherwise 51 public function isstring(array $value): array argument 53 return Util::toBool($value[0] == 'string'); 57 * Returns true if a value is a color, false otherwise 61 public function iscolor(array $value): array argument 63 return Util::toBool(Color::coerceColor($value)); 67 * Returns true if a value is a keyword, false otherwise [all …]
|
| /dokuwiki/_test/tests/Remote/ |
| H A D | XmlRpcServerTest.php | 32 <value> 34 </value> 37 <value> 39 </value> 48 <value> 51 <value> 53 </value> 54 <value> 56 </value> 59 </value> [all …]
|
| /dokuwiki/vendor/splitbrain/lesserphp/src/Utils/ |
| H A D | Asserts.php | 14 public static function assertArgs($value, $expectedArgs, $name = '') argument 17 return $value; 19 if ($value[0] !== 'list' || $value[1] != ',') { 22 $values = $value[2]; 41 public static function assertMinArgs($value, $expectedMinArgs, $name = '') argument 43 if ($value[0] !== 'list' || $value[1] != ',') { 46 $values = $value[2]; 60 * Checks that the value is a number and returns it as float 62 * @param array $value The parsed value triplet 66 public static function assertNumber(array $value, string $error = 'expecting number'): float argument [all …]
|
| H A D | Util.php | 14 * Clamps a value between a minimum and maximum value. 16 * This function takes a value and two boundary values (maximum and minimum). 17 * It ensures that the provided value does not exceed the boundaries. 18 * If the value is less than the minimum, the minimum is returned. 19 * If the value is greater than the maximum, the maximum is returned. 20 * Otherwise, the original value is returned. 53 $value = Asserts::assertNumber($number); 60 // check if the from value is a length 62 // make sure to value is too 66 $px = $value * Constants::LENGTH_BASES[$from_index]; [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
| H A D | GMP.php | 68 $this->value = $x; 72 $this->value = gmp_init(0); 87 $this->value = gmp_import($this->value); 89 $this->value = -$this->value; 93 $temp = $this->is_negative ? '-0x' . $this->value : '0x' . $this->value; 94 $this->value = gmp_init($temp); 97 $this->value = gmp_init(isset($this->value) ? $this->value : '0'); 108 return (string)$this->value; 149 if (gmp_cmp($this->value, gmp_init(0)) == 0) { 153 $temp = gmp_export($this->value); [all …]
|
| H A D | BCMath.php | 68 $this->value = '0'; 84 $len = (strlen($this->value) + 3) & ~3; 86 $x = str_pad($this->value, $len, chr(0), STR_PAD_LEFT); 88 $this->value = '0'; 90 $this->value = bcmul($this->value, '4294967296', 0); // 4294967296 == 2**32 91 $this->value = bcadd( 92 $this->value, 101 $this->value = '-' . $this->value; 105 $x = (strlen($this->value) & 1) ? '0' . $this->value : $this->value; 107 $this->value = $this->is_negative ? '-' . $temp->value : $temp->value; [all …]
|
| H A D | PHP.php | 34 * $result[self::VALUE] contains the value. 36 const VALUE = 0; define in phpseclib3\\Math\\BigInteger\\Engines\\PHP 83 $this->value = []; 97 $x = (strlen($this->value) & 1) ? '0' . $this->value : $this->value; 99 $this->value = $temp->value; 105 $multiplier->value = [static::MAX10]; 107 $x = $this->value; 126 $this->value = $temp->value; 152 if (!count($this->value)) { 161 $divisor->value = [static::MAX10]; [all …]
|
| /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) ? ' checked="checked"' : ''; [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 [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="' . $value . '" ' . $disable . '/>';
|
| 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;
|
| /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 81 protected function readValue($value) argument 90 if ($value == 'true') { 91 $value = true; [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
| H A D | BigInteger.php | 60 private $value; variable in phpseclib3\\Math\\BigInteger 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->toBytes($twos_compliment); [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) argument 26 parent::set($name, $value); 27 $_REQUEST[$name] = $value;
|
| 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) argument 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 166 $value = $this->applyfilter($this->access[$name]); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/PrimeField/ |
| H A D | Integer.php | 27 * Holds the PrimeField's value 31 protected $value; variable in phpseclib3\\Math\\PrimeField\\Integer 71 $this->value = clone static::$zero[static::class]; 74 $this->value = $reduce($num); 146 return $this->value->equals($x->value); 158 return $this->value->compare($x->value); 171 $temp->value = $this->value->add($x->value); 172 if ($temp->value->compare(static::$modulo[$this->instanceID]) >= 0) { 173 $temp->value = $temp->value->subtract(static::$modulo[$this->instanceID]); 189 $temp->value = $this->value->subtract($x->value); [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>"; 92 $return .= $value->getXml() . "</value></member>\n"; 113 foreach ($array as $key => $value) {
|
| /dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
| H A D | BaseDataCache.php | 69 * Fetches a value from the cache. 77 * @param mixed $default Default value to return if the key does not exist. 79 * @return array|mixed The value of the item from the cache, or $default in case of cache miss. 82 * MUST be thrown if the $key string is not a legal value. 113 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; 117 * @param array $value The value of the item to store, must be serializable. 118 * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and 119 … the driver supports TTL then the library may set a default value 125 * MUST be thrown if the $key string is not a legal value. 127 public function set_data(string $key, array $value, ?int $ttl = null): bool argument [all …]
|