Lines Matching defs:file
44 /** @var int counts the code and file blocks, used to provide download links */
620 * Display text as file content, optionally syntax highlighted
624 * @param string $filename file path label
627 public function file($text, $language = null, $filename = null, $options = null)
629 $this->_highlight('file', $text, $language, $filename, $options);
637 * @param string $filename file path label
646 * Use GeSHi to highlight language syntax in code and file blocks
648 * @param string $type code|file
651 * @param string $filename file path label
964 * @param string|array $name name for the link, array for media file
1027 * @param string|array $name name for the link, array for media file
1086 * @param string|array $name name for the link, array for media file
1110 $url = 'file:///' . $url;
1127 * @param string|array $name name for the link, array for media file
1173 * Render an internal media file
1221 // add file icons
1258 * Render an external media file
1308 // add file icons
1739 // if the file is not supposed to be rendered
1740 // return the title of the file (just the sourcename if there is no title)
1810 * @param bool $isImage will be set to true if it's a media file
1945 foreach ($files as $mime => $file) {
1947 $url = $file;
1950 $url = ml($file, '', true, '&');
1954 ? $this->_xmlEntities(PhpString::basename(noNS($file)))
1958 // alternative content (just a link to the file)
1960 $file,
2015 foreach ($files as $mime => $file) {
2017 $url = $file;
2020 $url = ml($file, '', true, '&');
2023 $title = $atts['title'] ?: $this->_xmlEntities(PhpString::basename(noNS($file)));
2026 // alternative content (just a link to the file)
2028 $file,