Home
last modified time | relevance | path

Searched refs:return (Results 1 – 25 of 28) sorted by relevance

12

/dokuwiki/inc/
DInfo.php21 $return = [
31 $return['date'] = $matches[2];
33 $return['type'] = 'rc';
35 $return['type'] = 'stable';
38 $return['hotfix'] = $matches[3];
44 [, $return['codename']] = sexplode(' ', $version, 2);
45 $return['codename'] = trim($return['codename'], ' "');
47 $return['version'] = $return['date'];
48 $return['version'] .= $return['type'] == 'rc' ? 'rc' : $return['hotfix'];
50 return $return;
Dsearch.php504 $return = true;
519 $return = true; // recurse forever
523 $return = false; // depth reached
525 $return = true;
529 if ($return) {
550 if (empty($opts['listdirs'])) return $return;
553 …if (!empty($opts['dirmatch']) && !preg_match('/' . $opts['dirmatch'] . '/', $file)) return $return;
554 …!empty($opts['nsmatch']) && !preg_match('/' . $opts['nsmatch'] . '/', $item['ns'])) return $return;
556 if (empty($opts['listfiles'])) return $return;
557 if (empty($opts['skipacl']) && $item['perm'] < AUTH_READ) return $return;
[all …]
Dtemplate.php135 * @param bool $return Should the TOC be returned instead to be printed?
140 function tpl_toc($return = false) argument
172 if ($return) return $html;
452 * @param bool $return Return or print directly?
455 function tpl_inlineScript($script, $return = false) argument
464 if ($return) return $script;
476 * @param bool $return if true return the link html, otherwise print
481 function tpl_link($url, $name, $more = '', $return = false) argument
486 if ($return) return $out;
498 * @param bool $return
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
DSource.php105 if ($return = $this->get_source_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_10, 'title')) {
106 …->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$retu…
107 … } elseif ($return = $this->get_source_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_03, 'title')) {
108 …->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$retu…
109 … } elseif ($return = $this->get_source_tags(\SimplePie\SimplePie::NAMESPACE_RSS_10, 'title')) {
110 …return $this->sanitize($return[0]['data'], \SimplePie\SimplePie::CONSTRUCT_MAYBE_HTML, $this->get_…
111 … } elseif ($return = $this->get_source_tags(\SimplePie\SimplePie::NAMESPACE_RSS_090, 'title')) {
112 …return $this->sanitize($return[0]['data'], \SimplePie\SimplePie::CONSTRUCT_MAYBE_HTML, $this->get_…
113 … } elseif ($return = $this->get_source_tags(\SimplePie\SimplePie::NAMESPACE_RSS_20, 'title')) {
114 …return $this->sanitize($return[0]['data'], \SimplePie\SimplePie::CONSTRUCT_MAYBE_HTML, $this->get_…
[all …]
DSimplePie.php2200 if ($return = $this->get_feed_tags($namespace, $tag)) {
2201 return $return;
2327 if ($return = $this->get_channel_tags(self::NAMESPACE_ATOM_10, 'title')) {
2328 …->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$retu…
2329 } elseif ($return = $this->get_channel_tags(self::NAMESPACE_ATOM_03, 'title')) {
2330 …->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$retu…
2331 } elseif ($return = $this->get_channel_tags(self::NAMESPACE_RSS_10, 'title')) {
2332 …return $this->sanitize($return[0]['data'], self::CONSTRUCT_MAYBE_HTML, $this->get_base($return[0])…
2333 } elseif ($return = $this->get_channel_tags(self::NAMESPACE_RSS_090, 'title')) {
2334 …return $this->sanitize($return[0]['data'], self::CONSTRUCT_MAYBE_HTML, $this->get_base($return[0])…
[all …]
DItem.php219 if ($return = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_10, 'id')) {
220 return $this->sanitize($return[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT);
221 … } elseif ($return = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_03, 'id')) {
222 return $this->sanitize($return[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT);
223 … } elseif ($return = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_20, 'guid')) {
224 return $this->sanitize($return[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT);
225 … } elseif ($return = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_11, 'identifier')) {
226 return $this->sanitize($return[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT);
227 … } elseif ($return = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_10, 'identifier')) {
228 return $this->sanitize($return[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT);
[all …]
DMisc.php104 $return = [];
108 $return[$i]['tag'] = $realname;
109 $return[$i]['full'] = $matches[$i][0][0];
110 $return[$i]['offset'] = $matches[$i][0][1];
112 $return[$i]['self_closing'] = true;
114 $return[$i]['self_closing'] = false;
115 $return[$i]['content'] = $matches[$i][4][0];
117 $return[$i]['attribs'] = [];
123 …$return[$i]['attribs'][strtolower($attribs[$j][1])]['data'] = Misc::entities_decode(end($attribs[$…
128 return $return;
[all …]
DIRI.php185 $return = $this->{"get_$name"}();
187 $return = $this->$name;
192 $return = $this->$prop;
197 $return = $this->$prop;
200 $return = null;
203 if ($return === null && isset($this->normalization[$this->scheme][$name])) {
207 return $return;
736 $return
739 return $return;
747 $return = $this->set_scheme($parsed['scheme'])
[all …]
DParser.php138 $return = true;
167 $return = false;
173 $return = false;
180 return $return;
/dokuwiki/inc/Remote/
DJsonRpcServer.php85 $return = [];
94 if (isset($data['id'])) $return['id'] = $data['id'];
98 $return['jsonrpc'] = $data['jsonrpc'];
104 $return['version'] = $data['version'];
116 $return['result'] = $this->call($method, $params);
117 $this->addErrorData($return); // handles non-error info
118 return $return;
129 $return = [];
130 $this->addErrorData($return, $exception);
131 return $return;
/dokuwiki/vendor/kissifrot/php-ixr/src/DataType/
DValue.php80 $return = '<array><data>' . "\n";
82 $return .= ' <value>' . $item->getXml() . "</value>\n";
84 $return .= '</data></array>';
85 return $return;
88 $return = '<struct>' . "\n";
91 $return .= " <member><name>$name</name><value>";
92 $return .= $value->getXml() . "</value></member>\n";
94 $return .= '</struct>';
95 return $return;
/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
DIntrospectionServer.php134 $return = [];
138 $return[] = 'string';
142 $return[] = 42;
145 $return[] = 3.1415;
148 $return[] = new Date(time());
151 $return[] = true;
154 $return[] = new Base64('base64');
157 $return[] = ['array'];
160 $return[] = ['struct' => 'struct'];
164 return $return;
/dokuwiki/_test/tests/inc/
Dhttpclient_mock.php43 $return = false;
45 $return = parent::sendRequest($url, $data, $method);
50 return $return;
/dokuwiki/_test/tests/Remote/OpenApiDoc/
DDocBlockMethodTest.php72 $return = $doc->getReturn();
73 $this->assertInstanceOf(Type::class, $return['type']);
/dokuwiki/vendor/splitbrain/php-archive/src/
DTar.php655 $return['checksum'] = OctDec(trim($header['checksum']));
656 if ($return['checksum'] != $chks) {
660 $return['filename'] = trim($header['filename']);
661 $return['perm'] = OctDec(trim($header['perm']));
662 $return['uid'] = OctDec(trim($header['uid']));
663 $return['gid'] = OctDec(trim($header['gid']));
664 $return['size'] = self::numberDecode($header['size']);
665 $return['mtime'] = self::numberDecode($header['mtime']);
666 $return['typeflag'] = $header['typeflag'];
667 $return['link'] = trim($header['link']);
[all …]
/dokuwiki/vendor/splitbrain/slika/src/
DImageMagickAdapter.php123 $return = 0;
124 exec($cmd, $output, $return);
126 if ($return !== 0) {
/dokuwiki/_test/core/
DphpQuery-onefile.php315 $return = false;
318 $return = $this->documentFragmentLoadMarkup($this, $charset, $markup);
326 $return = phpQuery::$debug === 2
329 if ($return)
332 if ($return && ! $this->contentType)
334 return $return;
381 $return = false;
384 $return = $this->documentFragmentLoadMarkup($this, $charset, $markup);
401 $return = phpQuery::$debug === 2
409 $return = $this->document->loadXML($markup, $libxmlStatic);
[all …]
/dokuwiki/inc/Remote/OpenApiDoc/
DDocBlockMethod.php105 foreach ($this->tags['return'] ?? [] as $return) {
106 [$type, $description] = array_map('trim', sexplode(' ', $return, 2, ''));
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
DRedis.php187 $return = $this->cache->set($this->name, $data);
191 return $return;
/dokuwiki/lib/plugins/authad/
Dauth.php582 $return = true;
592 $return = $adldap->user()->password($this->getUserName($user), $changes['pass']);
595 $return = false;
597 if (!$return) msg($this->getLang('passchangefail'), -1);
614 $return &= $adldap->user()->modify($this->getUserName($user), $adchanges);
617 $return = false;
619 if (!$return) msg($this->getLang('userchangefail'), -1);
622 return $return;
/dokuwiki/vendor/simplepie/simplepie/idn/
Didna_convert.class.php207 $return = $email_pref . '@' . $input;
222 $return =
236 $return = join('.', $arr);
239 $return = $this->_decode($input);
240 if (!$return) $return = $input;
246 return $return;
249 return $this->_ucs4_to_ucs4_string($this->_utf8_to_ucs4($return));
252 return $this->_utf8_to_ucs4($return);
/dokuwiki/vendor/simplepie/simplepie/src/Content/Type/
DSniffer.php111 if ($return = $this->image()) {
112 return $return;
/dokuwiki/inc/parser/
Dxhtml.php1182 * @param bool $return return HTML instead of adding to $doc
1193 $return = false argument
1244 if ($return) {
1267 * @param bool $return return HTML instead of adding to $doc
1278 $return = false argument
1316 if ($return) {
1967 $return = true
2035 $return = true
/dokuwiki/conf/
Dmysql.conf.php.example73 /* This statement should return a table with exact one row containing
107 /* This statement should return a table containing all user login names
176 /* This statement should return the database index of a given user name.
242 /* This statement should return the database index of a given group name.
/dokuwiki/vendor/splitbrain/lesserphp/
DREADME.md46 The `compileFile` method reads and compiles a file. It will either return the

12