| /dokuwiki/vendor/splitbrain/lesserphp/src/Functions/ |
| H A D | Type.php | 41 public function isnumber(array $value): array argument 43 return Util::toBool($value[0] == 'number'); 51 public function isstring(array $value): array argument 53 return Util::toBool($value[0] == 'string'); 61 public function iscolor(array $value): array argument 63 return Util::toBool(Color::coerceColor($value)); 71 public function iskeyword(array $value): array argument 73 return Util::toBool($value[0] == 'keyword'); 81 public function isurl(array $value): array argument 83 return Util::toBool($value[0] == 'function' && $value[1] == 'url'); [all …]
|
| H A D | Misc.php | 46 [$value, $to] = Asserts::assertArgs($args, 2, 'convert'); 53 return Util::convert($value, $to); 59 * @param array $value either an argument list (two strings) or a single string 62 public function dataUri(array $value): string argument 64 $mime = ($value[0] === 'list') ? $value[2][0][2] : null; 65 $url = ($value[0] === 'list') ? $value[2][1][2][0] : $value[2][0];
|
| /dokuwiki/inc/Form/ |
| H A D | ValueElement.php | 19 protected $value = ''; variable in dokuwiki\\Form\\ValueElement 23 * @param string $value 26 public function __construct($type, $value, $attributes = []) 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 D | Element.php | 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; 146 * @param null|string $value 149 public function val($value = null) argument 151 return $this->attr('value', $value);
|
| H A D | TextareaElement.php | 31 * @param null|string $value 34 public function val($value = null) argument 36 if ($value !== null) { 37 $this->text = cleanText($value);
|
| /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]; 62 * @param array $value The parsed value triplet 66 public static function assertNumber(array $value, string $error = 'expecting number'): float argument 68 if ($value[0] == 'number') return (float)$value[1]; [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
| 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 | 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 | PHP.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]; 163 while (count($temp->value)) { 166 isset($mod->value[0]) ? $mod->value[0] : '', [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; 78 * @param string $value 81 protected function readValue($value) argument 90 if ($value == 'true') { 91 $value = true; 92 } elseif ($value == 'false') { [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
| H A D | BigInteger.php | 60 private $value; variable in phpseclib3\\Math\\BigInteger 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); 229 return $this->value->toHex($twos_compliment); [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 | 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 | 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 | Setting.php | 45 foreach ($params as $property => $value) { 47 $this->$property = $value; 83 $value = is_null($this->local) ? $this->default : $this->local; 84 if ($value == $input) return false; 108 * @param mixed $value 111 protected function cleanValue($value) argument 113 return $value; 202 $value = $this->protected; 205 $value = $this->input; 207 $value = is_null($this->local) ? $this->default : $this->local; [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | Rating.php | 73 public $value; variable in SimplePie\\Rating 81 public function __construct($scheme = null, $value = null) argument 84 $this->value = $value; 119 if ($this->value !== null) { 120 return $this->value;
|
| H A D | Restriction.php | 81 public $value; variable in SimplePie\\Restriction 89 public function __construct($relationship = null, $type = null, $value = null) argument 93 $this->value = $value; 142 if ($this->value !== null) { 143 return $this->value;
|
| /dokuwiki/inc/Input/ |
| H A D | Input.php | 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; 166 $value = $this->applyfilter($this->access[$name]); 167 if ($value === '') return $default; 168 if ($nonempty && empty($value)) return $default; 170 return (int)$value; [all …]
|
| 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;
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/PrimeField/ |
| H A D | Integer.php | 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); 190 if ($temp->value->isNegative()) { [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
| H A D | XML.php | 77 $value = new BigInteger(Strings::base64_decode($temp->item(0)->nodeValue), 256); 80 $components['modulus'] = $value; 83 $components['publicExponent'] = $value; 86 $components['primes'][1] = $value; 89 $components['primes'][2] = $value; 92 $components['exponents'][1] = $value; 95 $components['exponents'][2] = $value; 98 $components['coefficients'][2] = $value; 101 $components['privateExponent'] = $value; 107 foreach ($components as $key => $value) { [all …]
|
| /dokuwiki/_test/tests/inc/ |
| H A D | common_php_to_byte.test.php | 27 * @param string $value 30 public function test_undefined($value, $bytes) { argument 31 $this->assertSame($bytes, php_to_byte($value));
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/ |
| H A D | BuiltIn.php | 36 $temp->value = bcpowmod($x->value, $e->value, $n->value);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP/ |
| H A D | DefaultEngine.php | 36 $temp->value = gmp_powm($x->value, $e->value, $n->value);
|