Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 25 of 129) sorted by relevance

123456

/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Cache/
H A DFilesystemCache.php48 $fileName = $this->getCacheFilename($key);
49 if (!is_file($fileName)) {
53 require_once $fileName;
66 $fileName = $this->getCacheFilename($key);
71 array('fileName' => $fileName)
74 $this->writeFile($fileName, $value);
96 * @param string $fileName
102 $dirName = dirname($fileName);
126 * @param string $fileName
136 array('fileName' => $fileName)
[all …]
/plugin/refnotes/
H A Dconfig.php45 $fileName = DOKU_CONF . 'refnotes.' . $sectionName . '.local.dat';
47 if (!file_exists($fileName)) {
50 $fileName = $pluginRoot . $sectionName . '.local.dat';
51 if (!file_exists($fileName)) {
52 $fileName = $pluginRoot . 'conf/' . $sectionName . '.dat';
53 if (!file_exists($fileName)) {
54 $fileName = '';
59 if ($fileName != '') {
60 $result = unserialize(io_readFile($fileName, false));
73 $fileName = DOKU_CONF . 'refnotes.' . $sectionName . '.local.dat';
[all …]
H A Ddatabase.php187 private $fileName; variable in refnotes_reference_database_page
197 $this->fileName = wikiFN($id);
201 if ($cache->isCached($this->fileName)) {
474 private $fileName; variable in refnotes_reference_database_cache
497 if (file_exists($this->fileName)) {
511 public function isCached($fileName) { argument
515 if ($this->cache[$fileName]['time'] == @filemtime($fileName)) {
520 $this->requested[$fileName] = true;
528 public function getNamespaces($fileName) { argument
529 return $this->cache[$fileName]['ns'];
[all …]
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Source/
H A DFilesystemSource.php22 private $fileName; variable in Mustache_Source_FilesystemSource
29 * @param string $fileName
32 public function __construct($fileName, array $statProps) argument
34 $this->fileName = $fileName;
48 'fileName' => $this->fileName,
53 $this->stat = @stat($this->fileName);
57 … throw new RuntimeException(sprintf('Failed to read source file "%s".', $this->fileName));
75 return file_get_contents($this->fileName);
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Loader/
H A DInlineLoader.php52 protected $fileName; variable in Mustache_Loader_InlineLoader
68 * @param string $fileName The file to parse for inline templates
73 public function __construct($fileName, $offset) argument
75 if (!is_file($fileName)) {
83 $this->fileName = $fileName;
114 $data = file_get_contents($this->fileName, false, null, $this->offset);
H A DFilesystemLoader.php99 $fileName = $this->getFileName($name);
101 if ($this->shouldCheckPath() && !file_exists($fileName)) {
105 return file_get_contents($fileName);
117 $fileName = $this->baseDir . '/' . $name;
118 if (substr($fileName, 0 - strlen($this->extension)) !== $this->extension) {
119 $fileName .= $this->extension;
122 return $fileName;
H A DProductionFilesystemLoader.php78 $fileName = $this->getFileName($name);
80 if (!file_exists($fileName)) {
84 return new Mustache_Source_FilesystemSource($fileName, $this->statProps);
/plugin/zotero/tests/
H A DStubZoteroFeedReader.php6 private $fileName; variable in StubZoteroFeedReader
8 public function __construct($fileName = "TestEntries.xml") argument
10 $this->fileName = $fileName;
15 return file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . $this->fileName);
/plugin/davcal/vendor/sabre/dav/lib/DAV/Browser/
H A DGuessContentType.php77 list(, $fileName) = URLUtil::splitPath($propFind->getPath());
78 return $this->getContentType($fileName);
87 * @param string $fileName
90 protected function getContentType($fileName) { argument
93 $extension = strtolower(substr($fileName, strrpos($fileName, '.') + 1));
/plugin/webdav/vendor/sabre/dav/lib/DAV/Browser/
H A DGuessContentType.php77 list(, $fileName) = URLUtil::splitPath($propFind->getPath());
78 return $this->getContentType($fileName);
87 * @param string $fileName
90 protected function getContentType($fileName) { argument
93 $extension = strtolower(substr($fileName, strrpos($fileName, '.') + 1));
/plugin/jcapture/src/com/hammurapi/jcapture/
H A DJCaptureApplet.java15 protected HttpUriRequest createRequest(String fileName, InputStreamBody bin) throws Exception { in createRequest() argument
62 reqEntity.addPart("Filename", new StringBody(fileName)); in createRequest()
64 int nsIdx = fileName.lastIndexOf(":"); in createRequest()
69 namespace = ":"+fileName.substring(0, nsIdx); in createRequest()
70 fileName = fileName.substring(nsIdx+1); in createRequest()
88 protected String bodyName(String fileName) { in bodyName() argument
89 return fileName.substring(fileName.lastIndexOf(":")+1); in bodyName()
/plugin/batchedit/
H A Daction.php93 private function addTemplateHeaderInclude($event, $fileName) { argument
95 $fileName = DOKU_BASE . 'lib/plugins/batchedit/' . $fileName;
97 switch (pathinfo($fileName, PATHINFO_EXTENSION)) {
100 $data = array('type' => 'text/css', 'rel' => 'stylesheet', 'href' => $fileName);
105 …$data = array('type' => 'text/javascript', 'charset' => 'utf-8', 'src' => $fileName, '_data' => ''…
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/cfm/
H A Dcf5_upload.cfm199 <cfset fileName = "">
231 fileName = cffile.ClientFileName ;
236 if( reFind("[^A-Za-z0-9_\-\.]", fileName) ) {
237 fileName = reReplace(fileName, "[^A-Za-z0-9\-\.]", "_", "ALL");
238 fileName = reReplace(fileName, "_{2,}", "_", "ALL");
239 fileName = reReplace(fileName, "([^_]+)_+$", "\1", "ALL");
240 fileName = reReplace(fileName, "$_([^_]+)$", "\1", "ALL");
245 fileName = replace( fileName, '.', "_", "all" ) ;
250 tmpFileName = fileName;
254 fileName = tmpFileName & '(#counter#)' ;
[all …]
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/perl/
H A Dio.pl38 local($fileName) = @_;
40 if($fileName !~ /\./) {
41 $fileName .= '.';
43 if($fileName =~ /([^\\\/]*)\.(.*)$/) {
46 if($fileName =~ /(.*)$base\.$ext$/) {
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/py/
H A Dfckutil.py33 def removeExtension(fileName): argument
34 index = fileName.rindex(".")
35 newFileName = fileName[0:index]
38 def getExtension(fileName): argument
39 index = fileName.rindex(".") + 1
40 fileExtension = fileName[index:]
/plugin/docimporter/
H A Daction.php35 $fileName = basename($_FILES['doc']['name']);
36 $fileName = preg_replace("/ /", "_", $fileName);
37 $agnosticFileName = preg_split("/\./", $fileName);
39 if(move_uploaded_file($_FILES['doc']['tmp_name'], $tempDir."/". $fileName)){
42 $result = exec("export HOME=/tmp && cd ".$tempDir." && convert_to_mediawiki ".$fileName);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Classes/
H A DClassFileNameSniff.php62 $fileName = substr($fullPath, 0, strrpos($fullPath, '.'));
63 if ($fileName === '') {
71 if ($tokens[$decName]['content'] !== $fileName) {
76 $fileName,
/plugin/zotero/
H A DTextZoteroRepository.php14 private $fileName; variable in TextZoteroRepository
17 public function __construct($fileName, ZoteroConfig $config) argument
19 $this->fileName = $fileName;
21 $fileContents = file_get_contents($fileName);
98 file_put_contents($this->fileName, $text);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/
H A DYamlRunnerTest.php183 if (array_key_exists($fileName, static::$skippedFiles)) {
184 static::markTestSkipped(static::$skippedFiles[$fileName]);
212 if (array_key_exists($fileName, static::$skippedFiles)) {
213 static::markTestSkipped(static::$skippedFiles[$fileName]);
236 * @param string $fileName
244 if (array_key_exists("$fileName#$name", static::$skippedTests)) {
998 $fileName = str_replace($path . '/', '', $file);
1000 if (array_key_exists($fileName, static::$fatalFiles)) {
1001 echo "Skipping: $fileName. ".static::$fatalFiles[$fileName]."\n";
1033 $fileName
[all …]
/plugin/rrdgraph/inc/
H A Dcontenttypes.php22 * @param String $fileName The file name to detect the content type for.
25 public static function get_content_type($fileName) { argument
26 $extension = strtolower(ltrim(strrchr($fileName, '.'), '.'));
/plugin/translator/
H A Daction.php84 …$fileName = str_replace("(.*?)", ( $exportLang == $this->getConf('default_language') ? "" : "_$exp…
96 $zipFile->add_File(implode("\r\n", array_values($data)), $fileName );
101 $functions->_sendLanguageFile(array_values($data), $fileName);
103 $fileName = str_replace("(.*?)", "_all", $CategoryFileName) . ".zip";
104 $functions->_sendLanguageFile(array(), $fileName);
/plugin/davcal/vendor/sabre/dav/bin/
H A Dbuild.php164 foreach($fileNames as $fileName) {
165 echo " $fileName\n";
166 rename('build/SabreDAV/vendor/sabre/dav/' . $fileName, 'build/SabreDAV/' . $fileName);
/plugin/siteexport/action/
H A Dajax.php513 $CURRENT_PARENT = $fileName = $this->functions->getSiteName($ID, true);
514 $this->functions->debug->message("Filename could be:", $fileName, 2);
526 $dirname = dirname($fileName);
531 $extension = explode('.', $fileName);
539 $fileName = $dirname . '/' . $tmpFile[1];
543 $this->fileChecked[$url] = $fileName;
544 $status = $this->filewriter->__addFileToZip($tmpFile[0], $fileName);
847 $fileName = $this->functions->getSiteName($ID, true);
899 $DATA2Name = explode('/', $fileName);
938 $fileName = $this->functions->shortenName($DATA[2]);
[all …]
/plugin/bibtex/OSBib/
H A DLOADSTYLE.php41 $fileName = strtoupper($dir) . ".xml";
43 && file_exists($stylesDir . '/' . $dir . "/" . $fileName))
45 if($fh = fopen($stylesDir . '/' . $dir . "/" . $fileName, "r"))
/plugin/confmanager/configTypes/
H A DConfigManagerSingleLineConfigCascade.php12 * @param string $fileName
15 protected function loadFile($fileName) { argument
16 if (@!file_exists($fileName)) {
19 $config = file($fileName);

123456