Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 15 of 15) sorted by relevance

/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/
H A DMath.php48 public function ceil(array $arg): array argument
50 $value = Asserts::assertNumber($arg);
51 return ['number', ceil($value), $arg[2]];
60 public function floor(array $arg): array argument
62 $value = Asserts::assertNumber($arg);
63 return ['number', floor($value), $arg[2]];
72 public function percentage(array $arg): array argument
74 $num = Asserts::assertNumber($arg);
84 public function round(array $arg): array argument
86 if ($arg[0] != 'list') {
[all …]
H A DMisc.php99 public function unit(array $arg): array argument
101 if ($arg[0] == 'list') {
102 [$number, $newUnit] = $arg[2];
109 return ['number', Asserts::assertNumber($arg), ''];
H A DStrings.php40 public function e(array $arg): array argument
42 return $this->lessc->unwrap($arg);
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DOptions.php109 * @param string $arg argument name (just for help)
115 public function registerArgument($arg, $help, $required = true, $command = '') argument
122 'name' => $arg,
196 foreach ($this->setup[$this->command]['args'] as $arg) {
197 if (!$arg['required']) {
227 $arg = $this->args[$i];
231 if ($arg == '--') {
237 if ($arg == '-') {
243 if ($arg[0] != '-') {
249 if (strlen($arg) > 1 && $arg[1] === '-') {
[all …]
/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
H A DIntrospectionServer.php86 $arg = array_shift($args);
91 if (is_array($arg) || !is_int($arg)) {
97 if (!is_string($arg)) {
102 if ($arg !== false && $arg !== true) {
108 if (!is_float($arg)) {
114 if (!($arg instanceof Date)) {
/dokuwiki/vendor/kissifrot/php-ixr/src/Request/
H A DRequest.php30 foreach ($this->args as $arg) {
32 $v = new Value($arg);
/dokuwiki/inc/Remote/
H A DApiCall.php167 foreach ($this->getDocs()->getParameters() as $arg => $arginfo) {
168 if (isset($params[$arg])) {
169 $args[] = $params[$arg];
173 throw new InvalidArgumentException("Missing argument $arg");
/dokuwiki/_test/tests/Remote/Mock/
H A DApiCore.php59 function oneStringArgMethod($arg) argument
61 return $arg;
/dokuwiki/vendor/splitbrain/lesserphp/src/
H A DLessc.php855 foreach ($block->args as $arg) {
856 if ($arg[0] == 'arg' && isset($keywordArgs[$arg[1]])) {
860 $remainingArgs[] = $arg;
866 foreach ($remainingArgs as $i => $arg) {
867 switch ($arg[0]) {
869 if (empty($orderedArgs[$i]) || !$this->eq($arg[1], $orderedArgs[$i])) {
875 if (!isset($orderedArgs[$i]) && !isset($arg[2])) {
1038 foreach ((array)$args as $arg) {
1039 switch ($arg[0]) {
1041 if (!isset($arg[2])) {
[all …]
H A DParser.php865 $arg = ['arg', $value[1]];
869 $arg[] = $rhs;
873 $arg[0] = 'rest';
878 $values[] = $arg;
896 foreach ($values as $i => $arg) {
897 switch ($arg[0]) {
902 $newList[] = $arg[2];
905 $newList[] = $arg[1];
/dokuwiki/bin/
H A Dgittool.php182 public function cmdGit($cmd, $arg) argument
186 $shell = array_merge(['git', $cmd], $arg);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php2302 foreach ($args as $arg) {
2304 case $arg instanceof PublicKey:
2306 case $arg instanceof PrivateKey:
2307 case $arg instanceof Agent:
2308 case is_array($arg):
2309 case Strings::is_stringable($arg):
2325 foreach ($args as $key => $arg) {
2326 if ($arg instanceof PrivateKey || $arg instanceof Agent) {
2327 $newargs[] = $arg;
2335 foreach ($args as $arg) {
[all …]
/dokuwiki/inc/
H A Dinfoutils.php612 $params[] = '"' . $arg . '"';
/dokuwiki/vendor/simplepie/simplepie/src/
H A DSimplePie.php3149 foreach ($urls as $arg) {
3150 if ($arg instanceof SimplePie) {
3151 $items = array_merge($items, $arg->get_items(0, $limit));
/dokuwiki/vendor/geshi/geshi/
H A DCHANGELOG313 * Fixed missed shorthand arg references in Bash (BenBE)