Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 21 of 21) sorted by relevance

/dokuwiki/inc/parser/
H A Dcode.php22 * @param string $filename
24 public function code($text, $language = null, $filename = '') argument
29 if (!$filename) $filename = 'snippet.' . $language;
30 $filename = PhpString::basename($filename);
31 $filename = Clean::stripspecials($filename, '_');
40 header("Content-Disposition: attachment; filename=$filename");
54 * @param string $filename
56 public function file($text, $language = null, $filename = '') argument
58 $this->code($text, $language, $filename);
H A Dxhtml.php624 * @param string $filename file path label
627 public function file($text, $language = null, $filename = null, $options = null) argument
629 $this->_highlight('file', $text, $language, $filename, $options);
637 * @param string $filename file path label
640 public function code($text, $language = null, $filename = null, $options = null) argument
642 $this->_highlight('code', $text, $language, $filename, $options);
651 * @param string $filename file path label
655 public function _highlight($type, $text, $language = null, $filename = null, $options = null) argument
663 if ($filename) {
665 [$ext] = mimetype($filename, false);
[all …]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DFeedCreator.php197 * @param string $filename
199 protected function _redirect($filename) argument
214 …Content-Type: ".$this->contentType."; charset=".$this->encoding."; filename=".basename($filename));
215 if (preg_match('/\.(kml|gpx)$/', $filename)) {
216 header("Content-Disposition: attachment; filename=".basename($filename));
218 header("Content-Disposition: inline; filename=".basename($filename));
220 readfile($filename);
232 …* @param string $filename optional the filename where a recent version of the feed is saved. If…
238 public function useCached($filename = "", $timeout = 3600) argument
241 if ($filename == "") {
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DCache.php87 * @param string $filename Unique identifier for cache object
91 public static function get_handler($location, $filename, $extension) argument
97 return new $class($location, $filename, $extension);
100 return new \SimplePie\Cache\File($location, $filename, $extension);
108 public function create($location, $filename, $extension) argument
112 return self::get_handler($location, $filename, $extension);
H A DGzdecode.php166 public $filename; variable in SimplePie\\Gzdecode
274 $this->filename = substr($this->compressed_data, $this->position, $len);
/dokuwiki/_test/tests/inc/
H A Dcommon_pageinfo.test.php72 $filename = $conf['datadir'].'/wiki/syntax.txt';
73 $rev = filemtime($filename);
82 $info['filepath'] = $filename;
108 $filename = $conf['datadir'].'/wiki/syntax.txt';
109 $rev = filemtime($filename);
114 $info['filepath'] = $filename;
148 $filename = $conf['datadir'].'/wiki/syntax.txt';
149 $rev = filemtime($filename);
163 $info['filepath'] = str_replace('pages','attic',substr($filename,0,-3).$REV.$ext);
176 $filename = $conf['datadir'].'/wiki/syntax.txt';
[all …]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/
H A DUniversalFeedCreator.php132 …* @param string $filename optional the filename where a recent version of the feed is s…
138 public function saveFeed($format = "RSS0.91", $filename = "", $displayContents = true) argument
141 $this->_feed->saveFeed($filename, $displayContents);
153 …* @param string $filename optional the filename where a recent version of the feed is saved. If no…
159 public function useCached($format = "RSS0.91", $filename = "", $timeout = 3600) argument
162 $this->_feed->useCached($filename, $timeout);
/dokuwiki/inc/
H A DSafeFN.class.php44 …* @param string $filename a utf8 string, should only include printable characters - not …
49 public static function encode($filename) argument
51 return self::unicodeToSafe(Unicode::fromUtf8($filename));
74 * @param string $filename a 'safe' encoded ASCII string,
79 public static function decode($filename) argument
81 return Unicode::toUtf8(self::safeToUnicode(strtolower($filename)));
H A Dcompatibility.php47 * @param string $filename
52 function gzopen($filename, $mode, $use_include_path = 0) argument
54 return gzopen64($filename, $mode, $use_include_path);
H A Dmedia.php1188 || !file_exists($filename = mediaFN($image, $rev))
1191 $info = getimagesize($filename);
1477 * @param string $filename media id
1481 function media_printicon($filename, $size = '') argument
1483 [$ext] = mimetype(mediaFN($filename), false);
1491 return '<img src="' . $icon . '" alt="' . $filename . '" class="icon" />';
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DFileInfo.php312 $filename = $this->getPath();
316 $parts = explode('/', $filename);
322 $filename = join('/', array_slice($parts, $strip));
324 $filename .= "/$base";
328 if (substr($filename, 0, $striplen) == $strip) {
329 $filename = substr($filename, $striplen);
333 $this->setPath($filename);
H A DTar.php679 $filename = trim($this->readbytes(ceil($return['size'] / 512) * 512));
684 $return['filename'] = $filename;
/dokuwiki/vendor/simplepie/simplepie/
H A Dautoloader.php125 …$filename = $this->path . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, $class) . '.…
126 include $filename;
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DFile.php69 protected $filename; variable in SimplePie\\Cache\\File
95 $this->filename = $name;
97 $this->name = "$this->location/$this->filename.$this->extension";
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php878 list(, $filename) = Strings::unpackSSH2('Ns', $response);
879 return $filename;
1380 * @param string $filename
1383 public function stat($filename) argument
1389 $filename = $this->realpath($filename);
1390 if ($filename === false) {
1395 $result = $this->query_stat_cache($filename);
1404 $stat = $this->stat_helper($filename, NET_SFTP_STAT);
1406 $this->remove_from_stat_cache($filename);
1411 $filename .= '/.';
[all …]
H A DSSH2.php4566 $filename = NET_SSH2_LOG_REALTIME_FILENAME;
4567 $fp = fopen($filename, 'w');
/dokuwiki/lib/plugins/safefnrecode/
H A Dplugin.info.txt6 desc Changes existing page and foldernames for the change in the safe filename encoding
/dokuwiki/
H A Dinstall.php496 * @param string $filename
502 function fileWrite($filename, $data) argument
507 if (($fp = @fopen($filename, 'wb')) === false) {
508 $filename = str_replace($_SERVER['DOCUMENT_ROOT'], '{DOCUMENT_ROOT}/', $filename);
509 $error[] = sprintf($lang['i_writeerr'], $filename);
H A Dcomposer.lock646 "ext-iconv": "Used for proper filename encode handling",
647 "ext-mbstring": "Can be used alternatively for handling filename encoding",
/dokuwiki/data/pages/wiki/
H A Dsyntax.txt176 If you specify a filename that is not a supported media format, then it will be displayed as a link…
194 …e shown before the video has started. That image needs to have the same filename as the video and …
/dokuwiki/_test/data/pages/wiki/
H A Dsyntax.txt176 If you specify a filename that is not a supported media format, then it will be displayed as a link…
194 …e shown before the video has started. That image needs to have the same filename as the video and …