Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 834) sorted by relevance

12345678910>>...34

/plugin/cnmap/
Dsyntax.php132 $args = array();
133 parse_str($query, $args);
135 … $args['provider'] = in_array($provider, $this->providers)? $provider : $this->getConf('provider');
137 $args['zoom'] = intval($args['zoom']);
138 if($args['zoom'] < 3 || $args['zoom'] > 19)
139 $args['zoom'] = $this->getConf('zoom');
141 if(preg_match($this->css_len_pattern, $args['width']) != 1 )
142 $args['width'] = $this->getConf('width');
144 if(preg_match($this->css_len_pattern, $args['height']) != 1 )
145 $args['height'] = $this->getConf('height');
[all …]
/plugin/asciidocjs/node_modules/lodash/
D_createCtor.js17 var args = arguments;
18 switch (args.length) {
20 case 1: return new Ctor(args[0]);
21 case 2: return new Ctor(args[0], args[1]);
22 case 3: return new Ctor(args[0], args[1], args[2]);
23 case 4: return new Ctor(args[0], args[1], args[2], args[3]);
24 case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);
25 case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
26 case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
29 result = Ctor.apply(thisBinding, args);
D_createHybrid.js48 args = Array(length),
52 args[index] = arguments[index];
56 holdersCount = countHolders(args, placeholder);
59 args = composeArgs(args, partials, holders, isCurried);
62 args = composeArgsRight(args, partialsRight, holdersRight, isCurried);
66 var newHolders = replaceHolders(args, placeholder);
69 args, newHolders, argPos, ary, arity - length
75 length = args.length;
77 args = reorder(args, argPos);
79 args.reverse();
[all …]
Dnegate.js29 var args = arguments;
30 switch (args.length) {
32 case 1: return !predicate.call(this, args[0]);
33 case 2: return !predicate.call(this, args[0], args[1]);
34 case 3: return !predicate.call(this, args[0], args[1], args[2]);
36 return !predicate.apply(this, args);
D_apply.js11 function apply(func, thisArg, args) { argument
12 switch (args.length) {
14 case 1: return func.call(thisArg, args[0]);
15 case 2: return func.call(thisArg, args[0], args[1]);
16 case 3: return func.call(thisArg, args[0], args[1], args[2]);
18 return func.apply(thisArg, args);
/plugin/tableplot/
Dtable2Plot.js46 var args = { variable
77 $.extend(true,args,graphArgs_);
83 if (! args.lastSeries) {
84 args.lastSeries = (args.series == 'columns') ?
85 $('tr',$(this)).eq(args.labels).find('th,td').length - 1 :
90 if (! args.dataEnd) {
91 args.dataEnd = (args.series == 'rows') ?
92 $('tr',$(this)).eq(args.firstSeries).find('th,td').length - 1:
105 if (! args.width) { args.width = $table.width(); }
106 if (! args.height) { args.height = $table.height(); }
[all …]
/plugin/asciidocjs/node_modules/core-js/modules/
D_invoke.js2 module.exports = function (fn, args, that) { argument
4 switch (args.length) {
7 case 1: return un ? fn(args[0])
8 : fn.call(that, args[0]);
9 case 2: return un ? fn(args[0], args[1])
10 : fn.call(that, args[0], args[1]);
11 case 3: return un ? fn(args[0], args[1], args[2])
12 : fn.call(that, args[0], args[1], args[2]);
13 case 4: return un ? fn(args[0], args[1], args[2], args[3])
14 : fn.call(that, args[0], args[1], args[2], args[3]);
[all …]
Des6.reflect.construct.js22 construct: function construct(Target, args /* , newTarget */) {
24 anObject(args);
26 if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
29 switch (args.length) {
31 case 1: return new Target(args[0]);
32 case 2: return new Target(args[0], args[1]);
33 case 3: return new Target(args[0], args[1], args[2]);
34 case 4: return new Target(args[0], args[1], args[2], args[3]);
38 $args.push.apply($args, args);
44 var result = Function.apply.call(Target, instance, args);
/plugin/asciidocjs/node_modules/core-js/library/modules/
D_invoke.js2 module.exports = function (fn, args, that) { argument
4 switch (args.length) {
7 case 1: return un ? fn(args[0])
8 : fn.call(that, args[0]);
9 case 2: return un ? fn(args[0], args[1])
10 : fn.call(that, args[0], args[1]);
11 case 3: return un ? fn(args[0], args[1], args[2])
12 : fn.call(that, args[0], args[1], args[2]);
13 case 4: return un ? fn(args[0], args[1], args[2], args[3])
14 : fn.call(that, args[0], args[1], args[2], args[3]);
[all …]
Des6.reflect.construct.js22 construct: function construct(Target, args /* , newTarget */) {
24 anObject(args);
26 if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
29 switch (args.length) {
31 case 1: return new Target(args[0]);
32 case 2: return new Target(args[0], args[1]);
33 case 3: return new Target(args[0], args[1], args[2]);
34 case 4: return new Target(args[0], args[1], args[2], args[3]);
38 $args.push.apply($args, args);
44 var result = Function.apply.call(Target, instance, args);
/plugin/farm/
Dsoapserver.php41 $args = func_get_args();
42 if(count($args) < 3) return array();
45 $appname = $args[0];
46 $apppwd = $args[1];
47 $service = $args[2];
51 $serviceargs = isset($args[3]) ? (is_array($args[3]) ? $args[3] : array($args[3])) : array();
124 function service_test($args) { argument
125 return array('appauth' => 'ok', 'args' => $args);
133 function service_animalCreate($args) { argument
134 $name = isset($args['name']) ? $args['name'] : '';
[all …]
/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/
H A DHelpers.php217 * @param array $args passed arguments to helper
223 public function helperIf($template, $context, $args, $source) argument
225 $tpl = $template->getEngine()->loadString('{{#if ' . $args . '}}' . $source . '{{/if}}');
227 $tmp = $context->get($args);
249 $args = $this->parseArgs($context, substr($name, 7));
259 if (isset($args[0]) && $args[0]) {
290 * @param array $args passed arguments to helper
296 public function helperEach($template, $context, $args, $source) argument
298 list($keyname, $slice_start, $slice_end) = $this->extractSlice($args);
385 * @param array $args passed arguments to helper
[all …]
/plugin/ifauthex/lib/
Dparser.php35 public function __construct($definition, $args) { argument
37 $this->_args = $args;
41 public function args() { return $this->_args; } function in AST\\ElementInstance
45 foreach ($this->args() as $arg) {
64 if (count($this->args()) == 0) {
67 if ($this->args()[0] instanceof ElementInstance) {
68 return $this->args()[0]->getRepresentation();
70 return $this->args()[0]->match();
89 foreach ($this->args() as $arg) {
111 foreach ($this->args() as $arg) {
[all …]
/plugin/asciidocjs/node_modules/yargs/build/lib/
Dcompletion.js20 defaultCompletion(args, argv, current, done) { argument
22 for (let i = 0, ii = args.length; i < ii; ++i) {
23 if (handlers[args[i]] && handlers[args[i]].builder) {
24 const builder = handlers[args[i]].builder;
33 this.commandCompletions(completions, args, current);
34 this.optionCompletions(completions, args, argv, current);
35 this.choicesCompletions(completions, args, argv, current);
38 commandCompletions(completions, args, current) { argument
44 !this.previousArgHasChoices(args)) {
47 if (args.indexOf(commandName) === -1) {
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
DGetopt.php16 public static function getopt(array $args, $short_options, $long_options = null) argument
18 if (empty($args)) {
29 if (isset($args[0][0]) && $args[0][0] != '-') {
30 array_shift($args);
33 reset($args);
35 $args = array_map('trim', $args);
37 while (false !== $arg = current($args)) {
38 $i = key($args);
39 next($args);
45 $non_opts = array_merge($non_opts, array_slice($args, $i + 1));
[all …]
/plugin/asciidocjs/node_modules/@asciidoctor/cli/lib/
Doptions.js5 const convertOptions = (args, attrs) => { argument
7 const backend = args.backend
8 const doctype = args.doctype
9 const safeMode = args['safe-mode']
10 …const embedded = args.embedded === true || args['no-header-footer'] === true || args.standalone ==…
12 const sectionNumbers = args['section-numbers']
13 const baseDir = args['base-dir']
14 const destinationDir = args['destination-dir']
15 const outFile = args['out-file']
16 const templateDir = args['template-dir']
[all …]
/plugin/conform/
Dhelper.php68 array_push($errors, "Line: $linecount --> Keyword '$args[0]' doesn't exist!");
73 if ( count($args) != $argcheck[$args[0]] )
75 …, "Line: $linecount --> Keyword '$args[0]' has the wrong number (".count($args).") of arguments!");
77 else if ( count($args) > 1 )
79 $lowerattribute = strtolower($args[1]);
80 switch ( $args[0] )
84 if ( $required[$args[0]] == 1 )
106 … array_push($errors, "Line: $linecount --> Attribute '$args[1]' is repeated!");
143 $columns = count($tables[$tablecount]['args']);
159 array_push($errors, "Constraint '$args[1]' isn't contains incorrect check $check[0]!");
[all …]
/plugin/do/
Dhelper.php97 * @param array $args filters to apply
102 public function loadTasks($args = null, $checkAccess = true) argument
109 if (isset($args)) {
110 if (isset($args['ns'])) {
120 $ns = trim(resolve_id(getNS($ID), $args['ns'], false), ':');
129 if (isset($args['id'])) {
131 if (!is_array($args['id'])) {
132 $args['id'] = array($args['id']);
135 resolve_pageid(getNS($ID), $args['id'][0], $exists);
136 $where .= sprintf(' AND A.page = %s', $this->db->quote_string($args['id'][0]));
[all …]
/plugin/elasticsearch/vendor/ruflin/elastica/src/Query/
DBoolQuery.php19 * @param AbstractQuery|array $args Should query
23 public function addShould($args): self argument
25 return $this->_addQuery('should', $args);
31 * @param AbstractQuery|array $args Must query
35 public function addMust($args): self argument
37 return $this->_addQuery('must', $args);
43 * @param AbstractQuery|array $args Must not query
47 public function addMustNot($args): self argument
49 return $this->_addQuery('must_not', $args);
102 * @param AbstractQuery|array $args Query
[all …]
/plugin/menu/
Dsyntax.php281 list($type, $args) = $item['image'];
282 list($ext,$mime,$dl) = mimetype($args[0]);
284 … $img = $renderer->_media($args[0],$args[1],$class,$args[3],$args[4],$args[5]);
287 list($type, $args) = $item['link'];
288 $link = $this->_getLink($type, $args, $renderer);
289 $link['title'] = $args[1];
294 $link['name'] = '<span class="menutext">'.$args[1].'</span>';
321 list($type, $args) = $item['image'];
322 list($ext,$mime,$dl) = mimetype($args[0]);
324 … $img = $renderer->_media($args[0],$item['descr'],$class,$args[3],$args[4],$args[5]);
[all …]
/plugin/elasticsearch/vendor/ruflin/elastica/src/
DJSON.php18 * @param mixed $args,... JSON string to parse
24 public static function parse(...$args/* inherit from json_decode */) argument
27 if (1 === \count($args)) {
28 $args[] = true;
32 $array = \json_decode(...$args);
49 * @param mixed $args,... Target to stringify
55 public static function stringify(...$args/* inherit from json_encode */) argument
58 …isset($args[1]) ? $args[1] |= \JSON_PRESERVE_ZERO_FRACTION : $args[1] = \JSON_PRESERVE_ZERO_FRACTI…
61 $string = \json_encode(...$args);
/plugin/mellelexport/
Drenderer.php281 $args = func_get_args();
283 array_shift($args);
284 $args = $args[0];
336 if ($args[1] == 1) {
340 $args[1]--;
359 $args[0] = str_replace('&', '&amp;', $args[0]);
360 $args[0] = str_replace('\'', '&apos;', $args[0]);
361 $args[0] = str_replace('<', '&lt;', $args[0]);
362 $args[0] = str_replace('>', '&gt;', $args[0]);
364 if (isset($args[1]) AND (strpos($name, 'link') != false)) {
[all …]
/plugin/schedule/syntax/
Dblock.php52 $args = " ".$data." ";
53 … if (preg_match_all ("#(\"[^\"]*\")* help (\"[^\"]*\")*#", strtolower ($args), $dumy) > 0) {
60 … if (preg_match_all ("#(\"[^\"]*\")* admin (\"[^\"]*\")*#", strtolower ($args), $dumy) > 0) {
77 if (preg_match_all ("#^ >([^ ]*) (.*)#", $args, $dumy) > 0) {
79 $args = ' '.$dumy[2][0];
88 …reg_match_all ('/("[^"]*")* id="(?<id>[0-9a-zA-Z_]+)" ("[^"]*")*/', strtolower ($args), $dumy) > 0)
96 …(preg_match_all ("#(\"[^\"]*\")* (prop|form|ctrl) (\"[^\"]*\")*#", strtolower ($args), $dumy) > 0))
100 $cache = $this->schedules->readCache ($args);
107 … if (preg_match_all ("#(\"[^\"]*\")* table (\"[^\"]*\")*#", strtolower ($args), $dumy) > 0) {
114 … if (preg_match_all ("#(\"[^\"]*\")* prop (\"[^\"]*\")*#", strtolower ($args), $dumy) > 0)
[all …]
/plugin/asciidocjs/node_modules/promise/src/
Dnode-extensions.js29 var args = [];
31 args.push('a' + i);
34 'return function (' + args.join(',') + ') {',
38 ['self'].concat(args).concat([callbackFn]).join(','),
51 var args = [];
53 args.push('a' + i);
56 'return function (' + args.join(',') + ') {',
70 args.concat(['extra']).map(function (_, index) {
73 'res = fn.call(' + ['self'].concat(args.slice(0, index)).concat('cb').join(',') + ');' +
98 var args = Array.prototype.slice.call(arguments);
[all …]
/plugin/asciidocjs/node_modules/promise/setimmediate/
Dnode-extensions.js29 var args = [];
31 args.push('a' + i);
34 'return function (' + args.join(',') + ') {',
38 ['self'].concat(args).concat([callbackFn]).join(','),
51 var args = [];
53 args.push('a' + i);
56 'return function (' + args.join(',') + ') {',
70 args.concat(['extra']).map(function (_, index) {
73 'res = fn.call(' + ['self'].concat(args.slice(0, index)).concat('cb').join(',') + ');' +
98 var args = Array.prototype.slice.call(arguments);
[all …]

12345678910>>...34