| /dokuwiki/vendor/splitbrain/lesserphp/src/Functions/ |
| H A D | ColorOperation.php | 45 public function saturate(array $args): array argument 47 [$color, $delta] = $this->colorArgs($args); 60 public function desaturate(array $args): array argument 62 [$color, $delta] = $this->colorArgs($args); 75 public function lighten(array $args): array argument 77 [$color, $delta] = $this->colorArgs($args); 90 public function darken(array $args): array argument 92 [$color, $delta] = $this->colorArgs($args); 105 public function fadein(array $args): array argument 107 [$color, $delta] = $this->colorArgs($args); [all …]
|
| H A D | Math.php | 203 public function pow(array $args): array argument 205 [$base, $exp] = Asserts::assertArgs($args, 2, 'pow'); 206 … return ['number', Asserts::assertNumber($base) ** Asserts::assertNumber($exp), $args[2][0][2]]; 215 public function mod(array $args): array argument 217 [$a, $b] = Asserts::assertArgs($args, 2, 'mod'); 218 return ['number', Asserts::assertNumber($a) % Asserts::assertNumber($b), $args[2][0][2]]; 227 public function min(array $args): array argument 229 $values = Asserts::assertMinArgs($args, 1, 'min'); 254 public function max(array $args): array argument 256 $values = Asserts::assertMinArgs($args, 1, 'max');
|
| H A D | Strings.php | 51 public function format(array $args) : array argument 53 if ($args[0] != 'list') return $args; 54 $values = $args[2];
|
| /dokuwiki/vendor/splitbrain/slika/src/ |
| H A D | ImageMagickAdapter.php | 12 protected $args = []; variable in splitbrain\\slika\\ImageMagickAdapter 23 $this->args[] = $this->options['imconvert']; 24 $this->args[] = $imagepath; 30 $this->args[] = '-auto-orient'; 43 $this->args[] = '-rotate'; 45 $this->args[] = '180'; 47 $this->args[] = '90'; 49 $this->args[] = '270'; 54 $this->args[] = '-flop'; 73 $this->args[] = '-resize'; [all …]
|
| /dokuwiki/_test/tests/inc/ |
| H A D | common_ml.test.php | 21 $args = array('a' => 'b', 'c' => 'd', 'q' => '&ä'); 24 $this->assertEquals($expect, ml('some:img.jpg', $args)); 32 $args = 'a=b&c=d'; 35 $this->assertEquals($expect, ml('some:img.png', $args)); 43 $args = 'a=b,c=d'; 46 $this->assertEquals($expect, ml('some:img.gif', $args)); 57 $args = array('w' => $w); 61 $this->assertEquals($expect, ml($id, $args)); 71 $args = 'w='.$w; 75 $this->assertEquals($expect, ml($id, $args)); [all …]
|
| H A D | common_wl.test.php | 73 $args = array('a' => 'b', 'c' => 'd', 'q' => '&ä'); 76 $this->assertEquals($expect, wl('some:', $args)); 84 $args = 'a=b&c=d'; 87 $this->assertEquals($expect, wl('some:', $args)); 95 $args = 'a=b,c=d'; 98 $this->assertEquals($expect, wl('some:', $args)); 160 $args = array('a' => 'b', 'c' => 'd', 'rev' => ''); 163 $this->assertEquals($expect, wl('some:', $args));
|
| H A D | httpclient_http.test.php | 25 $this->assertArrayHasKey('args', $resp); 26 $this->assertEquals(['foo' => ['bar']], $resp['args']); 42 $this->assertArrayHasKey('args', $resp); 43 $this->assertEquals(['foo' => ['bar']], $resp['args']);
|
| /dokuwiki/vendor/kissifrot/php-ixr/src/Request/ |
| H A D | Request.php | 16 private $args; variable in IXR\\Request\\Request 19 public function __construct($method, $args) argument 22 $this->args = $args; 30 foreach ($this->args as $arg) {
|
| /dokuwiki/inc/Remote/ |
| H A D | ApiCall.php | 47 * @param array $args 50 public function __invoke($args) argument 52 if (!array_is_list($args)) { 53 $args = $this->namedArgsToPositional($args); 55 return call_user_func_array($this->method, $args); 165 $args = []; 169 $args[] = $params[$arg]; 171 $args[] = $arginfo['default']; 177 return $args;
|
| H A D | Api.php | 117 * @param array $args arguments to pass to the given method 121 public function call($method, $args = []) argument 123 if ($args === null) { 124 $args = []; 137 return $methods[$method]($args);
|
| H A D | XmlRpcServer.php | 50 protected function call($methodname, $args) argument 53 $result = $this->remote->call($methodname, $args);
|
| H A D | JsonRpcServer.php | 169 * @param array $args 173 public function call($methodname, $args) argument 176 return $this->remote->call($methodname, $args);
|
| /dokuwiki/vendor/kissifrot/php-ixr/src/Server/ |
| H A D | ClassServer.php | 57 public function call($methodname, $args) argument 65 if (count($args) == 1) { 67 $args = $args[0]; 86 $result = $object->$method($args); 94 $result = $method($args);
|
| H A D | IntrospectionServer.php | 64 if ($args && !is_array($args)) { 65 $args = [$args]; 78 if (count($args) != count($signature)) { 84 $argsbackup = $args; 85 for ($i = 0, $j = count($args); $i < $j; $i++) { 86 $arg = array_shift($args);
|
| H A D | Server.php | 80 protected function call($methodname, $args) argument 88 if (is_array($args) && count($args) == 1) { 90 $args = $args[0]; 99 return $this->$method($args); 102 return call_user_func($method, $args);
|
| /dokuwiki/vendor/kissifrot/php-ixr/src/Client/ |
| H A D | ClientMulticall.php | 22 $args = func_get_args(); 23 $methodName = array_shift($args); 26 'params' => $args
|
| /dokuwiki/_test/tests/Remote/ |
| H A D | ApiCallTest.php | 39 $args = $call->getArgs(); 40 $this->assertIsArray($args); 41 $this->assertArrayHasKey('foo', $args); 59 $args = $call->getArgs(); 60 $this->assertIsArray($args); 61 $this->assertArrayHasKey('file', $args);
|
| /dokuwiki/vendor/splitbrain/php-cli/src/ |
| H A D | Options.php | 26 protected $args = array(); variable in splitbrain\\phpcli\\Options 60 $this->args = $this->readPHPArgv(); 61 $this->bin = basename(array_shift($this->args)); 193 $argc = count($this->args); 225 $argc = count($this->args); 227 $arg = $this->args[$i]; 232 $non_opts = array_merge($non_opts, array_slice($this->args, $i + 1)); 238 $non_opts = array_merge($non_opts, array_slice($this->args, $i)); 244 $non_opts = array_merge($non_opts, array_slice($this->args, $i)); 260 … if (is_null($val) && $i + 1 < $argc && !preg_match('/^--?[\w]/', $this->args[$i + 1])) { [all …]
|
| /dokuwiki/lib/plugins/usermanager/ |
| H A D | cli.php | 142 * @param array $args 145 protected function cmdAdd(bool $notify, array $args) argument 155 [$login, $mail, $name, $grps, $pass] = $args; 188 * @param array $args 191 protected function cmdDelete(array $args) argument 201 $users = explode(',', $args[0]); 218 * @param array $args 221 protected function cmdAddToGroup(array $args) argument 226 [$name, $newgrps] = $args; 256 * @param array $args [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | DH.php | 88 public static function createParameters(...$args) argument 96 if (count($args) == 2 && $args[0] instanceof BigInteger && $args[1] instanceof BigInteger) { 100 $params->prime = $args[0]; 101 $params->base = $args[1]; 103 } elseif (count($args) == 1 && is_numeric($args[0])) { 104 $params->prime = BigInteger::randomPrime($args[0]); 107 } elseif (count($args) != 1 || !is_string($args[0])) { 110 switch ($args[0]) {
|
| H A D | DSA.php | 189 public static function createKey(...$args) argument 206 if (count($args) == 2 && is_int($args[0]) && is_int($args[1])) { 207 $params = self::createParameters($args[0], $args[1]); 208 } elseif (count($args) == 1 && $args[0] instanceof Parameters) { 209 $params = $args[0]; 210 } elseif (!count($args)) {
|
| /dokuwiki/_test/tests/Parsing/ |
| H A D | HandlerTest.php | 81 [$name, $args] = $handler->calls[0]; 83 $this->assertSame('info', $args[0]); 84 $this->assertSame(['datetime'], $args[1]); 85 $this->assertSame('~~INFO:datetime~~', $args[3]);
|
| /dokuwiki/vendor/simplepie/simplepie/utils/PHPStan/ |
| H A D | RegistryCallMethodReturnTypeExtension.php | 48 $args = $methodCall->getArgs(); 50 if (count($args) < 2) { 55 $classNameArg = $args[0]->value; 56 $methodNameArg = $args[1]->value; 57 $argumentsArg = $args[2]->value ?? null;
|
| /dokuwiki/bin/ |
| H A D | dwpage.php | 160 $args = $options->getArgs(); 163 $wiki_id = array_shift($args); 164 $localfile = array_shift($args); 168 $localfile = array_shift($args); 169 $wiki_id = array_shift($args); 178 $wiki_id = array_shift($args); 183 $wiki_id = array_shift($args); 188 $wiki_id = array_shift($args); 189 $key = trim(array_shift($args));
|
| /dokuwiki/inc/Parsing/ |
| H A D | Handler.php | 113 * @param mixed $args arguments for this call 116 public function addCall($handler, $args, $pos) argument 118 $call = [$handler, $args, $pos]; 167 public function _addCall($handler, $args, $pos) argument 170 $this->addCall($handler, $args, $pos); 177 * @param mixed $args arguments for this call 182 public function addPluginCall($plugin, $args, $state, $pos, $match) argument 184 $call = ['plugin', [$plugin, $args, $state, $match], $pos];
|