Home
last modified time | relevance | path

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

123456

/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DGetopt.php37 while (false !== $arg = current($args)) {
40 if ($arg == '') {
44 if ($arg == '--') {
50 if ($arg[0] != '-' || (strlen($arg) > 1 && $arg[1] == '-' && !$long_options)) {
54 } elseif (strlen($arg) > 1 && $arg[1] == '-') {
56 substr($arg, 2),
63 substr($arg, 1),
76 $argLen = strlen($arg);
79 $opt = $arg[$i];
90 $opts[] = [$opt, substr($arg, $i + 1)];
[all …]
/plugin/mdpage/vendor/cebe/markdown/bin/
H A Dmarkdown31 foreach($argv as $k => $arg) {
35 if ($arg[0] == '-') {
36 $arg = explode('=', $arg); variable
37 switch($arg[0]) {
39 if (isset($arg[1])) {
40 if (isset($flavors[$arg[1]])) {
41 require($flavors[$arg[1]][1]);
42 $flavor = $flavors[$arg[1]][0];
44 error("Unknown flavor: " . $arg[1], "usage");
61 error("Unknown argument " . $arg[0], "usage");
[all …]
/plugin/freechat/phpfreechat/data/public/js/
H A Dsprintf2.js1 function sprintf2(arg) { argument
2 if( arg.length < 2 ) {
3 return arg[0];
5 var data = arg[ 0 ];
6 for( var k=1; k<arg.length; ++k ) {
7 switch( typeof( arg[ k ] ) )
10 data = data.replace( /%s/, arg[ k ] );
13 data = data.replace( /%d/, arg[ k ] );
16 data = data.replace( /%b/, arg[ k ] ? 'true' : 'false' );
/plugin/commonmark/vendor/league/commonmark/src/Extension/Attributes/Util/
H A DAttributesHelper.php106 foreach ([$attributes1, $attributes2] as $arg) {
107 if ($arg instanceof AbstractBlock || $arg instanceof AbstractInline) {
108 $arg = $arg->data['attributes'] ?? [];
112 $arg = (array) $arg;
113 if (isset($arg['class'])) {
114 foreach (\array_filter(\explode(' ', \trim($arg['class']))) as $class) {
118 unset($arg['class']);
121 $attributes = \array_merge($attributes, $arg);
/plugin/bureaucracyau/helper/
H A Dfield.php94 foreach($args as $arg){
95 if ($arg[0] == '=') {
96 $this->setVal(substr($arg,1));
97 } elseif ($arg == '!') {
99 } elseif ($arg == '^') {
104 } elseif($arg == '@') {
106 } elseif($arg == '@@') {
110 } elseif($arg[0] == '.') {
114 } elseif($arg[0].$arg[1] == '**') {
117 $t = $arg[0];
[all …]
H A Dfieldyesno.php22 foreach ($args as $arg) {
23 switch ($arg[0]) {
25 if($arg == '==1') {
27 }elseif($arg == '==0') {
30 $this->opt['true_value'] = substr($arg, 1);
34 $this->opt['false_value'] = substr($arg, 1);
37 $newargs[] = $arg;
/plugin/bureaucracy-au/helper/
H A Dfield.php94 foreach($args as $arg){
95 if ($arg[0] == '=') {
96 $this->setVal(substr($arg,1));
97 } elseif ($arg == '!') {
99 } elseif ($arg == '^') {
104 } elseif($arg == '@') {
106 } elseif($arg == '@@') {
110 } elseif($arg[0] == '.') {
114 } elseif($arg[0].$arg[1] == '**') {
117 $t = $arg[0];
[all …]
H A Dfieldyesno.php22 foreach ($args as $arg) {
23 switch ($arg[0]) {
25 if($arg == '==1') {
27 }elseif($arg == '==0') {
30 $this->opt['true_value'] = substr($arg, 1);
34 $this->opt['false_value'] = substr($arg, 1);
37 $newargs[] = $arg;
/plugin/bureaucracy/helper/
H A Dfield.php94 foreach($args as $arg){
95 if ($arg[0] == '=') {
96 $this->setVal(substr($arg,1));
97 } elseif ($arg == '!') {
99 } elseif ($arg == '^') {
104 } elseif($arg == '@') {
106 } elseif($arg == '@@') {
110 } elseif($arg[0] == '.') {
114 } elseif($arg[0].$arg[1] == '**') {
117 $t = $arg[0];
[all …]
H A Dfieldyesno.php22 foreach ($args as $arg) {
23 switch ($arg[0]) {
25 if($arg == '==1') {
27 }elseif($arg == '==0') {
30 $this->opt['true_value'] = substr($arg, 1);
34 $this->opt['false_value'] = substr($arg, 1);
37 $newargs[] = $arg;
/plugin/canvas/
H A Dcanvas.php197 $arg = array();
214 $arg[$match[1]] = (int)$match[2];
224 $arg['width'] = $matches[1];
225 if (!$matches[2]) $arg['width'].= $unit;
226 $arg['height'] = $matches[4];
227 if (!$matches[5]) $arg['height'].= $unit;
231 $arg[$singlekey] = $matches[1];
235 $arg[$singlekey] = $matches[1].$unit;
245 $arg[$matches[1]] = false;
247 $arg[$token] = true;
[all …]
/plugin/eventum/
H A Dclass.Eventum_RPC.php107 foreach ($args as $arg) {
109 if ($arg instanceof XML_RPC_Value) {
110 $params[] = $arg;
115 if (is_object($arg)) {
116 $arg = serialize($arg);
119 $params[] = XML_RPC_encode($arg);
/plugin/conform/
H A Dhelper.php213 array_push($args, htmlspecialchars($arg));
215 $arg = "";
228 $arg .= ' ';
233 if ( strlen($arg) < 1 ) continue;
234 array_push($args, htmlspecialchars($arg));
235 $arg = "";
239 $arg .= $line{$i};
241 if ( strlen($arg) > 0 ) array_push($args, htmlspecialchars($arg));
/plugin/ifauthex/lib/
H A Dparser.php45 foreach ($this->args() as $arg) {
49 $pieces[] = $arg->match();
89 foreach ($this->args() as $arg) {
90 … if ($arg instanceof TokenInstance || ($recursive && !$arg->isExpanded($recursive))) {
112 if ($arg instanceof ElementInstance && !$arg->isExpanded($recursive)) {
113 $arg->expand($elmDef);
131 foreach ($this->args() as $arg) {
133 return $arg;
158 foreach ($this->args() as $arg) {
173 foreach ($this->args() as $arg) {
[all …]
/plugin/data-au/helper/
H A Daliastextbox.php26 foreach($args as $arg) {
27 if($arg[0] !== '_') {
28 $n_args[] = $arg;
31 $this->args[] = $arg;
47 foreach($args as $arg) {
48 $arg = $this->replaceTranslation($arg);
49 $datatype = $dthlp->_column($arg);
/plugin/data/
H A Dbureaucracy_field.php30 foreach ($args as $arg) {
31 if ($arg[0] !== '_') {
32 $n_args[] = $arg;
35 $this->args[] = $arg;
51 foreach ($args as $arg) {
52 $arg = $this->replaceTranslation($arg);
53 $datatype = $dthlp->_column($arg);
/plugin/data/helper/
H A Daliastextbox.php26 foreach($args as $arg) {
27 if($arg[0] !== '_') {
28 $n_args[] = $arg;
31 $this->args[] = $arg;
47 foreach($args as $arg) {
48 $arg = $this->replaceTranslation($arg);
49 $datatype = $dthlp->_column($arg);
/plugin/commonmark/vendor/league/commonmark/bin/
H A Dcommonmark36 foreach ($argv as $i => $arg) {
41 if (substr($arg, 0, 1) === '-') {
42 switch ($arg) {
55 $option = explode('=', $arg, 2)[0];
58 fail('Unknown option: ' . $arg);
62 $src = $arg;
/plugin/dokupp/
H A Dsyntax.php46 list ($match, $arg) = $data;
51 $renderer->doc .=sprintf($arg, $N[$S]);
59 if ($arg==='') $arg= $N[$match]; // preserve amount if no amount given
61 $N[$S] = intval($arg);
/plugin/jplayer/vendor/symfony/process/
H A DProcessUtils.php119 private static function isSurroundedBy($arg, $char) argument
121 return 2 < \strlen($arg) && $char === $arg[0] && $char === $arg[\strlen($arg) - 1];
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Objects/
H A DCreateWidgetTypeCallbackSniff.php84 …$arg = $phpcsFile->findNext(T_WHITESPACE, ($tokens[$function]['parenthesis_opener'] + 1), null, tr…
85 if ($tokens[$arg]['content'] !== 'callback') {
87 $phpcsFile->addError($error, $arg, 'FirstArgNotCallback');
176 $arg = $phpcsFile->findNext(T_WHITESPACE, ($i + 4), null, true);
177 if ($tokens[$arg]['content'] !== 'this'
178 && $tokens[$arg]['content'] !== 'self'
181 $phpcsFile->addError($error, $arg, 'FirstArgNotSelf');
/plugin/bureaucracy-au/_test/
H A Dfield_file.test.php36 foreach ($standardArgs as $arg => $pqSelector) {
37 $input = "<form>\nfile \"Some label\" $arg\n</form>";
42 foreach ($standardArgs as $arg => $pqSelector) {
43 $input = "<form>\nfile \"Some label\" upload:here $arg\n</form>";
48 foreach ($standardArgs as $arg => $pqSelector) {
49 $input = "<form>\nfile \"Some label\" \"upload:here\" $arg\n</form>";
/plugin/bureaucracyau/_test/
H A Dfield_file.test.php36 foreach ($standardArgs as $arg => $pqSelector) {
37 $input = "<form>\nfile \"Some label\" $arg\n</form>";
42 foreach ($standardArgs as $arg => $pqSelector) {
43 $input = "<form>\nfile \"Some label\" upload:here $arg\n</form>";
48 foreach ($standardArgs as $arg => $pqSelector) {
49 $input = "<form>\nfile \"Some label\" \"upload:here\" $arg\n</form>";
/plugin/bureaucracy/_test/
H A Dfield_file.test.php36 foreach ($standardArgs as $arg => $pqSelector) {
37 $input = "<form>\nfile \"Some label\" $arg\n</form>";
42 foreach ($standardArgs as $arg => $pqSelector) {
43 $input = "<form>\nfile \"Some label\" upload:here $arg\n</form>";
48 foreach ($standardArgs as $arg => $pqSelector) {
49 $input = "<form>\nfile \"Some label\" \"upload:here\" $arg\n</form>";
/plugin/davcal/vendor/sabre/event/tests/
H A DEventEmitterTest.php35 $ee->on('foo', function($arg) use (&$argResult) {
37 $argResult = $arg;
57 $ee->on('foo', function($arg) use (&$argResult) {
63 $ee->on('foo', function($arg) use (&$argResult) {
85 $ee->on('foo', function($arg) use (&$argResult) {
91 $ee->on('foo', function($arg) use (&$argResult) {
298 $ee->once('foo', function($arg) use (&$argResult) {
304 $ee->once('foo', function($arg) use (&$argResult) {

123456