Home
last modified time | relevance | path

Searched refs:base (Results 1 - 25 of 28) sorted by relevance

12

/dokuwiki/inc/
H A Dsearch.php14 * This function recurses into a given base directory
18 * @param string $base Where to start the search
21 * @param string $dir Current directory beyond $base
27 function search(&$data,$base,$func,$opts,$dir='',$lvl=1,$sort='natural'){
33 if($base == '' || $base == '/') {
34 throw new RuntimeException('No valid $base passed to search() - possible misconfiguration or bug');
38 $dh = @opendir($base.'/'.$dir);
42 if(is_dir($base.'/'.$dir.'/'.$file)){
47 $filepaths[] = $base
[all...]
H A DJpegMeta.php1698 * @param integer $base
1705 function _readIFD($data, $base, $offset, $isBigEndian, $mode) {
1708 $numEntries = $this->_getShort($data, $base + $offset, $isBigEndian);
1717 $tag = $this->_getShort($data, $base + $offset, $isBigEndian);
1719 $type = $this->_getShort($data, $base + $offset, $isBigEndian);
1721 $count = $this->_getLong($data, $base + $offset, $isBigEndian);
1731 $dataOffset = $this->_getLong($data, $base + $offset, $isBigEndian);
1732 $rawValue = $this->_getFixedString($data, $base + $dataOffset, $dataLength);
1734 $rawValue = $this->_getFixedString($data, $base + $offset, $dataLength);
1861 $this->_readIFD($data, $base,
[all...]
H A Dinit.php602 $base = dirname($_SERVER['SCRIPT_FILENAME']); variable
603 $path = $base.'/'.$path;
604 if($run == 0){ // avoid endless recursion when base isn't absolute for some reason
H A Dio.php575 $base = $conf['tmpdir']; variable
577 $tmpdir = $base.'/'.$dir;
/dokuwiki/inc/Ui/
H A DIndex.php86 $base = ':'.$item['id']; variable
87 $base = substr($base, strrpos($base,':') +1); variable
92 $html .= $base;
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php18 private $base; variable
70 $this->base = $id; variable
73 $this->base = substr($id, 9); variable
161 return $this->base != $this->getBase();
178 return $plugin_controller->isEnabled($this->base);
226 return $this->base;
237 if (!empty($this->localInfo['base'])) return $this->localInfo['base'];
238 return $this->base;
250 return $this->base;
[all...]
H A Dlist.php422 $base = $link['host']; variable
423 if (!empty($link['port'])) $base .= $base.':'.$link['port'];
427 $name = shorten($base, $long, 55);
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DIRI.php264 * Returns false if $base is not absolute, otherwise an IRI.
266 * @param IRI|string $base (Absolute) Base IRI
270 public static function absolutize($base, $relative)
286 if (!($base instanceof SimplePie_IRI))
288 $base = new SimplePie_IRI($base); variable
290 if ($base->scheme !== null && $base->is_valid())
297 $target->scheme = $base->scheme;
302 $target->scheme = $base
[all...]
H A DLocator.php61 var $base; variable
181 $this->base = $this->http_base; variable
182 $elements = $this->dom->getElementsByTagName('base');
187 $base = $this->registry->call('Misc', 'absolutize_url', array(trim($element->getAttribute('href')), $this->http_base)); variable
188 if ($base === false)
192 $this->base = $base; variable
236 $href = $this->registry->call('Misc', 'absolutize_url', array(trim($link->getAttribute('href')), $this->base));
284 $href = $this->registry->call('Misc', 'absolutize_url', array(trim($link->getAttribute('href')), $this->base));
345 $this->base));
[all...]
H A DSanitize.php56 var $base; variable
61 var $strip_htmltags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style');
139 public function strip_htmltags($tags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style'))
244 public function sanitize($data, $type, $base = '')
323 $this->base = $base; variable
383 $absolute = $this->registry->call('Misc', 'absolutize_url', array($data, $base));
443 $value = $this->registry->call('Misc', 'absolutize_url', array($element->getAttribute($attribute), $this->base));
H A DParser.php288 if (isset($attribs[SIMPLEPIE_NAMESPACE_XML]['base']))
290 $base = $this->registry->call('Misc', 'absolutize_url', array($attribs[SIMPLEPIE_NAMESPACE_XML]['base'], end($this->xml_base))); variable
291 if ($base !== false)
293 $this->xml_base[] = $base;
361 if (end($this->namespace) === SIMPLEPIE_NAMESPACE_XHTML && !in_array(end($this->element), array('area', 'base', 'basefont', 'br', 'col', 'frame', 'hr', 'img', 'input', 'isindex', 'link', 'meta', 'param')))
H A DMisc.php79 public static function absolutize_url($relative, $base)
81 $iri = SimplePie_IRI::absolutize(new SimplePie_IRI($base), $relative);
H A DSource.php91 public function sanitize($data, $type, $base = '')
93 return $this->item->sanitize($data, $type, $base);
H A DItem.php155 * Get the base URL value from the parent feed
157 * Uses `<xml:base>`
174 * @param string $base Base URL to resolve URLs against
177 public function sanitize($data, $type, $base = '')
179 return $this->feed->sanitize($data, $type, $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/splitbrain/php-archive/src/
H A DFileInfo.php318 $base = array_pop($parts); // keep filename itself variable
320 $base = ''; variable
323 if ($base) {
324 $filename .= "/$base";
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php263 * @param string $base Base usually $conf['datadir']
264 * @param string $file current file or directory relative to $base
270 public function searchCountCallback(&$data, $base, $file, $type, $lvl, $opts)
281 $size = filesize($base.'/'.$file);
282 $date = filemtime($base.'/'.$file);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php6 * Supports base-2, base-10, base-16, and base-256 numbers. Uses the GMP or BCMath extensions, if available,
14 * BigInteger uses base-2**26 to perform operations such as multiplication and division and
15 * base-2**52 (ie. two base 2**26 digits) to perform addition and subtraction. Because the largest possible
16 * value when multiplying two base-2**26 numbers together is a base-2**52 number, double precision floating
20 * base i
166 protected static $base; global() variable
[all...]
/dokuwiki/lib/exe/
H A Dcss.php180 $base = preg_quote(DOKU_BASE,'#'); variable
181 $css = preg_replace_callback('#(url\([ \'"]*)('.$base.')(.*?(?:\.(png|gif)))#i','css_datauri',$css);
405 protected $location; // base url location of the CSS/Less file
417 * @param string $location base url for this file
444 // during testing, files may be found relative to a second base dir, TMP_DIR
492 $base = unslash($match[2]); variable
504 $url = $base.$url;
H A Djs.php179 $base = \dokuwiki\Utf8\PhpString::basename($ifile); variable
180 if(array_key_exists($base, $loaded) && $loaded[$base] === true){
184 $loaded[$base] = true;
/dokuwiki/lib/plugins/acl/
H A Dadmin.php517 $base = $item['label']; variable
519 $base = ':'.$item['id']; variable
520 $base = substr($base, strrpos($base, ':')+1); variable
543 $ret .= $base;
/dokuwiki/lib/plugins/authldap/
H A Dauth.php194 $base = $this->makeFilter($this->getConf('usertree'), $info); variable
204 $this->debug('LDAP search at: ' . hsc($base . ' ' . $filter), 0, __LINE__, __FILE__);
205 $sr = $this->ldapSearch($this->con, $base, $filter, $this->getConf('userscope'), $this->getConf('attributes'));
269 $base = $this->makeFilter($this->getConf('grouptree'), $user_result); variable
273 $base,
279 $this->debug('LDAP search at: ' . hsc($base . ' ' . $filter), 0, __LINE__, __FILE__);
636 * @param string $scope can be 'base', 'one' or 'sub'
655 if ($scope == 'base') {
/dokuwiki/
H A Dfeed.php389 $base = preg_quote(DOKU_REL, '/'); variable
390 $content = preg_replace('/(<a href|<img src)="('.$base.')/s', '$1="'.DOKU_URL, $content);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRSA.php1931 $base = base64_encode($hash->hash($RSAPublicKey)); variable
1932 return substr($base, 0, strlen($base) - 1);
/dokuwiki/vendor/simplepie/simplepie/library/
H A DSimplePie.php644 public $strip_htmltags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style');
2122 * Get the base URL value from the feed
2124 * Uses `<xml:base>` if available, otherwise uses the first link in the
2154 * @param string $base Base URL to resolve URLs against
2157 public function sanitize($data, $type, $base = '')
2161 return $this->sanitize->sanitize($data, $type, $base);

Completed in 42 milliseconds

12