Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 84) sorted by relevance

1234

/dokuwiki/inc/
H A Dsearch.php21 * @param string $base Where to start the search
30 function search(&$data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural') argument
37 if ($base == '' || $base == '/') {
42 $dh = @opendir($base . '/' . $dir);
46 if (is_dir($base . '/' . $dir . '/' . $file)) {
51 $filepaths[] = $base . '/' . $dir . '/' . $file;
65 if (call_user_func_array($func, [&$data, $base, $dir, 'd', $lvl, $opts])) {
66 search($data, $base, $func, $opts, $dir, $lvl + 1, $sort);
71 call_user_func_array($func, [&$data, $base, $file, 'f', $lvl, $opts]);
104 * @param string $base
[all …]
/dokuwiki/lib/plugins/extension/
H A DExtension.php44 protected string $base; variable in dokuwiki\\plugin\\extension\\Extension
82 [$type, $base] = $this->idToTypeBase($id);
84 $this->base = $base;
96 * @param string $base The base name of the extension, null for auto-detection
99 public static function createFromDirectory($dir, $type = null, $base = null) argument
102 $extension->initFromDirectory($dir, $type, $base);
106 protected function initFromDirectory($dir, $type = null, $base = null) argument
127 if ($base !== null) {
128 $this->base = $base;
130 $this->base = $this->localInfo['base'];
[all …]
H A DInstaller.php104 * @param null $base the base directory name to use
107 public function installFromUrl($url, $base = null) argument
113 $base
145 * @param string $base the base directory name to use
148 public function installFromArchive($archive, $base = null) argument
150 $target = $this->mkTmpDir() . '/' . ($base ?? $this->fileToBase($archive));
152 $extensions = $this->findExtensions($target, $base);
432 $base = PhpString::basename($file);
433 $base = preg_replace('/\.(tar\.gz|tar\.bz|tar\.bz2|tar|tgz|tbz|zip|archive)$/', '', $base);
434 return preg_replace('/\W+/', '', $base);
[all …]
/dokuwiki/_test/tests/inc/
H A Dinit_fullpath.test.php6 $base = $_SERVER['SCRIPT_FILENAME'];
35 $_SERVER['SCRIPT_FILENAME'] = $base;
40 $base = $_SERVER['SCRIPT_FILENAME'];
84 $_SERVER['SCRIPT_FILENAME'] = $base;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/
H A DFingerprint.php49 $base = base64_encode($hash->hash($key));
50 return substr($base, 0, strlen($base) - 1);
/dokuwiki/inc/Ui/
H A DIndex.php82 $base = ':' . $item['id'];
83 $base = substr($base, strrpos($base, ':') + 1);
88 $html .= $base;
/dokuwiki/lib/plugins/extension/_test/
H A DInstallerTest.php61 $base = $ext->getBase();
62 $this->assertArrayHasKey($base, $expected, 'extension found');
63 $this->assertEquals($expected[$base], $ext->getType(), 'extension type');
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/
H A DPrivateKey.php50 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
53 $key = $type::savePublicKey($this->prime, $this->base, $this->publicKey);
70 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
73 …return $type::savePrivateKey($this->prime, $this->base, $this->privateKey, $this->publicKey, $this…
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DDH.php63 protected $base; variable in phpseclib3\\Crypt\\DH
95 $params->base = $args[1];
99 $params->base = new BigInteger(2);
226 $params->base = new BigInteger(2);
265 $key->base = $params->base;
267 $key->publicKey = $key->base->powMod($key->privateKey, $key->prime);
283 … if (!$private->prime->equals($public->prime) || !$private->base->equals($public->base)) {
358 $new->base = $components['base'];
402 $key = $type::saveParameters($this->prime, $this->base);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/
H A DPKCS8.php93 * @param BigInteger $base
100 …public static function savePrivateKey(BigInteger $prime, BigInteger $base, BigInteger $privateKey,… argument
104 'base' => $base
116 * @param BigInteger $base
121 …public static function savePublicKey(BigInteger $prime, BigInteger $base, BigInteger $publicKey, a… argument
125 'base' => $base
H A DPKCS1.php65 public static function saveParameters(BigInteger $prime, BigInteger $base, array $options = []) argument
69 'base' => $base
/dokuwiki/lib/tpl/dokuwiki/images/
H A Dpagetools-build.php43 $base = $i*90; variable
48 imagecopy($DST,$IN, 0,$base, 0,0, 30,30);
54 imagecopy($DST,$IN, 0,$base+45, 0,0, 30,30);
58 imagefilledrectangle($DST, 0,$base+45, 30,$base+45+30, $C_active);
/dokuwiki/vendor/simplepie/simplepie/src/
H A DIRI.php258 * @param IRI|string $base (Absolute) Base IRI
262 public static function absolutize($base, $relative) argument
272 if (!($base instanceof IRI)) {
273 $base = new IRI($base);
275 if ($base->scheme !== null && $base->is_valid()) {
279 $target->scheme = $base->scheme;
282 $target->scheme = $base->scheme;
283 $target->iuserinfo = $base->iuserinfo;
284 $target->ihost = $base->ihost;
285 $target->port = $base->port;
[all …]
/dokuwiki/inc/TreeBuilder/
H A DPageTreeBuilder.php125 $base = $conf['datadir'] . '/';
127 $dirs = glob($base . $dir . '/*', GLOB_ONLYDIR);
174 $base = $conf['datadir'] . '/';
176 $files = glob($base . $dir . '/*.txt');
231 $base = $conf['datadir'] . '/';
233 $dir = substr($dir, strlen($base));
/dokuwiki/lib/plugins/extension/_test/testdata/multi/mpl1/
H A Dplugin.info.txt1 base multi1
/dokuwiki/lib/plugins/extension/_test/testdata/plgsub6/plgfoo6/
H A Dplugin.info.txt1 base plugin6
/dokuwiki/lib/plugins/extension/_test/testdata/plgfoo5/
H A Dplugin.info.txt1 base plugin5
/dokuwiki/lib/plugins/extension/_test/testdata/plgsub4/plugin4/
H A Dplugin.info.txt1 base plugin4
/dokuwiki/lib/plugins/extension/_test/testdata/tplsub6/tplfoo6/
H A Dtemplate.info.txt1 base template6
/dokuwiki/lib/plugins/extension/_test/testdata/template2/
H A Dtemplate.info.txt1 base template2
/dokuwiki/lib/plugins/extension/_test/testdata/tplfoo5/
H A Dtemplate.info.txt1 base template5
/dokuwiki/lib/plugins/extension/_test/testdata/multi/mtpl4/
H A Dtemplate.info.txt1 base multi4
/dokuwiki/lib/plugins/extension/_test/testdata/multi/mpl2/
H A Dplugin.info.txt1 base multi2
/dokuwiki/lib/plugins/extension/_test/testdata/tplsub4/template4/
H A Dtemplate.info.txt1 base template4
/dokuwiki/lib/plugins/extension/_test/testdata/multi/mpl3/
H A Dplugin.info.txt1 base multi3

1234