/dokuwiki/inc/parser/ |
H A D | code.php | 22 * @param string $filename 24 public function code($text, $language = null, $filename = '') 29 if (!$filename) $filename = 'snippet.' . $language; 30 $filename = PhpString::basename($filename); 31 $filename = Clean::stripspecials($filename, '_'); 40 header("Content-Disposition: attachment; filename=$filename"); 19 code($text, $language = null, $filename = '') global() argument 50 file($text, $language = null, $filename = '') global() argument [all...] |
H A D | xhtml.php | 623 * @param string $filename file path label 626 public function file($text, $language = null, $filename = null, $options = null) 628 $this->_highlight('file', $text, $language, $filename, $options); 636 * @param string $filename file path label 639 public function code($text, $language = null, $filename = null, $options = null) 641 $this->_highlight('code', $text, $language, $filename, $options); 650 * @param string $filename file path label 654 public function _highlight($type, $text, $language = null, $filename = null, $options = null) 662 if ($filename) { 664 [$ext] = mimetype($filename, fals 577 file($text, $language = null, $filename = null, $options = null) global() argument 589 code($text, $language = null, $filename = null, $options = null) global() argument 603 _highlight($type, $text, $language = null, $filename = null, $options = null) global() argument [all...] |
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/ |
H A D | FeedCreator.php | 177 * Generate a filename for the feed cache file. The result will be $_SERVER["SCRIPT_NAME"] with the extension changed 182 * @return string the feed cache filename 197 * @param string $filename 199 protected function _redirect($filename) 212 //header("Location: ".$filename); 214 header("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)); 196 _redirect($filename) global() argument 235 useCached($filename = '', $timeout = 3600) global() argument 257 saveFeed($filename = '', $displayContents = true) global() argument [all...] |
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | Cache.php | 88 * @param string $filename Unique identifier for cache object 92 public static function get_handler($location, $filename, $extension) argument 98 return new $class($location, $filename, $extension); 101 return new \SimplePie\Cache\File($location, $filename, $extension); 109 public function create($location, $filename, $extension) argument 113 return self::get_handler($location, $filename, $extension);
|
H A D | Gzdecode.php | 162 * Original filename 167 public $filename; variable in SimplePie\\Gzdecode 268 // Get the length of the filename 274 // Set the original filename to the given string 275 $this->filename = substr($this->compressed_data, $this->position, $len);
|
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/ |
H A D | UniversalFeedCreator.php | 132 * @param string $filename optional the filename where a recent version of the feed is saved. If not 133 * specified, the filename is $_SERVER["SCRIPT_NAME"] with the extension changed to 138 public function saveFeed($format = "RSS0.91", $filename = "", $displayContents = true) 141 $this->_feed->saveFeed($filename, $displayContents); 153 * @param string $filename optional the filename where a recent version of the feed is saved. If not specified, the 154 * filename is $_SERVER["SCRIPT_NAME"] with the extension changed to .xml (see 159 public function useCached($format = "RSS0.91", $filename = "", $timeout = 3600) 162 $this->_feed->useCached($filename, 134 saveFeed($format = 'RSS0.91', $filename = '', $displayContents = true) global() argument 155 useCached($format = 'RSS0.91', $filename = '', $timeout = 3600) global() argument [all...] |
/dokuwiki/inc/ |
H A D | SafeFN.class.php | 44 * @param string $filename a utf8 string, should only include printable characters - not 0x00-0x1f 45 * @return string an encoded representation of $filename using only 'safe' ASCII characters 49 public static function encode($filename) 51 return self::unicodeToSafe(Unicode::fromUtf8($filename)); 74 * @param string $filename a 'safe' encoded ASCII string, 75 * @return string decoded utf8 representation of $filename 79 public static function decode($filename) 81 return Unicode::toUtf8(self::safeToUnicode(strtolower($filename))); 130 * @param string $safe a filename in 'safe_filename' format 47 encode($filename) global() argument 76 decode($filename) global() argument
|
H A D | compatibility.php | 47 * @param string $filename 52 function gzopen($filename, $mode, $use_include_path = 0) 54 return gzopen64($filename, $mode, $use_include_path); 49 gzopen($filename, $mode, $use_include_path = 0) global() argument
|
H A D | media.php | 458 // get filename 800 * @param string $image filename of the current image 1188 || !file_exists($filename = mediaFN($image, $rev)) 1191 $info = getimagesize($filename); 1477 * @param string $filename media id 1481 function media_printicon($filename, $size = '') 1483 [$ext] = mimetype(mediaFN($filename), false); 1491 return '<img src="' . $icon . '" alt="' . $filename . '" class="icon" />'; 1774 * @param string $file filename, path to file 1817 * @param string $file filename, pat 1411 media_printicon($filename, $size = '') global() argument [all...] |
/dokuwiki/vendor/splitbrain/php-archive/src/ |
H A D | FileInfo.php | 300 * Strip given prefix or number of path segments from the filename 305 * Alternatively a fixed string prefix may be passed in $strip. If the filename matches this prefix, 312 $filename = $this->getPath(); 316 $parts = explode('/', $filename); 318 $base = array_pop($parts); // keep filename itself 322 $filename = join('/', array_slice($parts, $strip)); 324 $filename .= "/$base"; 328 if (substr($filename, 0, $striplen) == $strip) { 329 $filename = substr($filename, [all...] |
H A D | Tar.php | 135 * Alternatively a fixed string prefix may be passed in $strip. If the filename matches this prefix, 415 * Note: It more memory effective to specify the filename in the create() function and 532 // handle filename length restrictions 613 $return['filename'] = trim($header['filename']); 626 $return['filename'] = trim($header['prefix']).'/'.$return['filename']; 631 // following data block(s) is the filename 632 $filename = trim($this->readbytes(ceil($return['size'] / 512) * 512)); 636 // overwrite the filename [all...] |
/dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
H A D | File.php | 70 protected $filename; variable in SimplePie\\Cache\\File 96 $this->filename = $name; 98 $this->name = "$this->location/$this->filename.$this->extension";
|
/dokuwiki/vendor/simplepie/simplepie/ |
H A D | autoloader.php | 125 $filename = $this->path . DIRECTORY_SEPARATOR . str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php'; 126 include $filename;
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
H A D | SFTP.php | 23 * $sftp->put('filename.ext', 'hello, world!'); 876 list(, $filename) = Strings::unpackSSH2('Ns', $response); 877 return $filename; 1128 // SFTPv4 "removed the long filename from the names structure-- it can now be 1140 $contents[$shortname] = $attributes + ['filename' => $shortname]; 1192 case $a['filename'] === '.' || $b['filename'] === '.': 1193 if ($a['filename'] === $b['filename']) { 1196 return $a['filename'] 1403 size($filename) global() argument 1519 stat($filename) global() argument 1576 lstat($filename) global() argument 1643 _stat($filename, $type) global() argument 1672 truncate($filename, $new_size) global() argument 1690 touch($filename, $time = null, $atime = null) global() argument 1762 chown($filename, $uid, $recursive = false) global() argument 1810 chgrp($filename, $gid, $recursive = false) global() argument 1831 chmod($mode, $filename, $recursive = false) global() argument 1879 _setstat($filename, $attr, $recursive) global() argument [all...] |
H A D | SSH1.php |
|
H A D | SSH2.php | 4504 $filename = NET_SSH2_LOG_REALTIME_FILENAME; 4505 $fp = fopen($filename, 'w');
|
/dokuwiki/lib/plugins/safefnrecode/ |
H A D | plugin.info.txt | 6 desc Changes existing page and foldernames for the change in the safe filename encoding
|
/dokuwiki/ |
H A D | install.php | 496 * @param string $filename 502 function fileWrite($filename, $data) 507 if (($fp = @fopen($filename, 'wb')) === false) { 508 $filename = str_replace($_SERVER['DOCUMENT_ROOT'], '{DOCUMENT_ROOT}/', $filename); 509 $error[] = sprintf($lang['i_writeerr'], $filename); 474 fileWrite($filename, $data) global() argument
|
/dokuwiki/data/pages/wiki/ |
H A D | syntax.txt | 176 If you specify a filename that is not a supported media format, then it will be displayed as a link instead. 194 Additionally DokuWiki supports a "poster" image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work.
|