Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 1107) sorted by relevance

12345678910>>...45

/template/strap/ComboStrap/
H A DFileSystems.php15 static function exists(Path $path): bool argument
17 $scheme = $path->getScheme();
20 return LocalFileSystem::getOrCreate()->exists($path);
22 return WikiFileSystem::getOrCreate()->exists($path);
24 return MarkupFileSystem::getOrCreate()->exists($path);
33 public static function getContent(Path $path): string argument
35 $scheme = $path->getScheme();
38 return LocalFileSystem::getOrCreate()->getContent($path);
40 return WikiFileSystem::getOrCreate()->getContent($path);
48 public static function getModifiedTime(Path $path): \DateTime argument
[all …]
H A DWikiFileSystem.php38 * @param WikiPath $path
40 function exists(Path $path): bool argument
42 return FileSystems::exists($path->toLocalPath());
46 * @param WikiPath $path
49 function getContent(Path $path): string argument
51 $localPath = $path->toLocalPath();
56 * @param WikiPath $path
59 function getModifiedTime(Path $path): DateTime argument
61 return FileSystems::getModifiedTime($path->toLocalPath());
65 * @param WikiPath $path
[all …]
H A DLocalFileSystem.php28 function exists(Path $path): bool argument
30 return file_exists($path->toAbsolutePath()->toAbsoluteId());
38 public function getContent($path): string argument
44 $mime = FileSystems::getMime($path);
46 …LogUtility::error("This mime content ($mime) is not text based (for the path $path). We can't retu…
50 …LogUtility::error("The mime is unknown for the path ($path). Trying to returning the content as te…
52 $content = @file_get_contents($path->toAbsolutePath()->toAbsoluteId());
55 throw new ExceptionNotFound("The file ($path) does not exists");
61 * @param LocalPath $path
65 public function getModifiedTime($path): DateTime argument
[all …]
H A DMarkupFileSystem.php25 * @param MarkupPath $path
28 function exists(Path $path): bool argument
30 return FileSystems::exists($path->getPathObject());
34 * @param MarkupPath $path
37 function getContent(Path $path): string argument
39 return FileSystems::getContent($path->getPathObject());
43 * @param MarkupPath $path
46 function getModifiedTime(Path $path): DateTime argument
48 return FileSystems::getModifiedTime($path->getPathObject());
52 * @param MarkupPath $path
[all …]
H A DLocalPath.php49 public static function createFromPathObject(Path $path): LocalPath argument
51 if ($path instanceof LocalPath) {
52 return $path;
54 if ($path instanceof WikiPath) {
55 return $path->toLocalPath();
75 private $path; variable in ComboStrap\\LocalPath
85 * @param string $path - relative or absolute, or a locale file uri
88 public function __construct(string $path, string $sep = null) argument
95 if (strpos($path, LocalFileSystem::SCHEME.'://') === 0) {
97 $path = Url::createFromString($path)->getPath();
[all …]
H A DFetcherTraitWikiPath.php25 private WikiPath $path; variable
29 * @param WikiPath $path
32 public function setSourcePath(WikiPath $path): IFetcher argument
34 $this->path = $path;
49 if (!isset($this->path)) {
64 $path = WikiPath::toValidAbsolutePath($id);
70 $wikiPath = WikiPath::createMarkupPathFromPath($path, $rev);
72 $wikiPath = WikiPath::createFromPath($path, $drive, $rev);
85 return $this->path;
93 return FileSystems::getMime($this->path);
[all …]
H A DFile.php26 protected $path; variable in ComboStrap\\File
35 $this->path = $absolutePath;
44 return $this->path;
53 return filesize($this->path);
62 return file_exists($this->path);
67 return $this->path;
79 return Iso8601Date::createFromTimestamp(filemtime($this->path))->getDateTime();
108 $absolutePath = pathinfo($this->path, PATHINFO_DIRNAME);
121 public static function createFromPath($path): File argument
123 return new File($path);
[all …]
H A DPathTreeNode.php11 private Path $path; variable in ComboStrap\\PathTreeNode
13 public function __construct(?Path $path) argument
15 $this->path = $path;
54 private static function createPathTreeNodeFromPath(Path $path): PathTreeNode argument
56 return new PathTreeNode($path);
73 $path = WikiPath::createMarkupPathFromId($id);
74 $actualNode = $nodeByIds[$path->getWikiId()] ?? null;
76 $actualNode = PathTreeNode::createPathTreeNodeFromPath($path);
77 $nodeByIds[$path->getWikiId()] = $actualNode;
108 return $this->path;
[all …]
H A DWikiPath.php119 * @param string $path - the path (may be relative)
132 protected function __construct(string $path, string $drive, string $rev = null) argument
141 $path = self::normalizeWikiPath($path);
143 if (trim($path) === "") {
145 $path = WikiPath::getContextPath()->toAbsoluteId();
154 $this->absolutePath = $path;
155 $firstCharacter = substr($path, 0, 1);
157 $parts = preg_split('/' . WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT . '/', $path);
220 $lastPosition = StringUtility::lastIndexOf($path, ".");
352 static function createMediaPathFromPath($path, $rev = null): WikiPath argument
[all …]
H A DThirdMediaLink.php24 $path = $mediaMarkup->getPath();
30 $label = $path->getLastName();
41 $extension = FileSystems::getMime($path);
47 if (!FileSystems::exists($path)) {
62 $path = $this->mediaMarkup->getPath();
63 if(!$path instanceof WikiPath){
68 $mime = FileSystems::getMime($path);
81 return FetcherRawLocalPath::createFromPath($path)
85 return FetcherRawLocalPath::createFromPath($path)
H A DResourceName.php25 * @param Path $path
28 public static function getFromPath(Path $path): string argument
31 $name = $path->getLastNameWithoutExtension();
34 $name = $path->getUrl()->getHost();
92 $path = $resourceCombo->getPathObject();
99 $path = $path->getParent();
109 return self::getFromPath($path);
/template/twigstarter/vendor/twig/twig/src/Loader/
DFilesystemLoader.php86 foreach ($paths as $path) {
87 $this->addPath($path, $namespace);
94 * @param string $path A path where to look for templates
99 public function addPath($path, $namespace = self::MAIN_NAMESPACE) argument
104 $checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;
106 … throw new LoaderError(sprintf('The "%s" directory does not exist ("%s").', $path, $checkPath));
109 $this->paths[$namespace][] = rtrim($path, '/\\');
115 * @param string $path A path where to look for templates
120 public function prependPath($path, $namespace = self::MAIN_NAMESPACE) argument
125 $checkPath = $this->isAbsolutePath($path) ? $path : $this->rootPath.$path;
[all …]
/template/strap/vendor/salesforce/handlebars-php/src/Handlebars/Cache/
H A DDisk.php25 private $path = ''; variable in Handlebars\\Cache\\Disk
32 * @param string $path Filesystem path to the disk cache location
39 public function __construct($path, $prefix = '', $suffix = '') argument
41 if (empty($path)) {
43 } elseif (!is_dir($path)) {
44 @mkdir($path, 0777, true);
46 if (!is_dir($path)) {
51 $this->path = $path;
67 return $this->path . DIRECTORY_SEPARATOR .
80 $path = $this->getPath($name);
[all …]
/template/mantinedoku/css/
D_edit.css369 …d" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 5h6a3.5 …
373 …" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M11 5l6 0" /…
377 …und" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 5v5a5 …
381 …oke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 8l-4 4l4 4" />…
385 …cap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5…
389path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 12h10" /><path d="M7 5v14" /><path d…
398 … stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/…
402 … stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/…
409path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 12h10" /><path d="M7 5v14" /><path d…
415 … stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/…
[all …]
Dpagetools.less167path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h…
170path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h…
174path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M20.993 11.646a9 9 0 1 0 -9.318 9.348" …
177path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M20.993 11.646a9 9 0 1 0 -9.318 9.348" …
181 …und"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 15l6 -6" /><path d="M11 6l.463…
184 …und"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 15l6 -6" /><path d="M11 6l.463…
188 …p="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 1…
191 …p="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 1…
195 …ound" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a…
198 …ound" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a…
Dbasic.less566 … stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/…
667path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -1…
671path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -1…
675path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.325 4.317c.426 -1.756 2.924 -1.756 …
679path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.325 4.317c.426 -1.756 2.924 -1.756 …
683path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -…
687path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -…
735 …oin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 12a9 9 0 1 0 18 0a9 9 0…
744path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m1…
753path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 9v4" /><path d="M10.363 3.591l-8.10…
[all …]
/template/mmclean/
Dtpl_functions.php79 $path = "";
85 $path = substr($ID, 0, strpos($ID, ":"));
89 $path = $ID;
91 $path .= ":";
97 print p_wiki_xhtml($path."menu2", '', false);
101 …print '<ul><li><a href="?id='.$path.'menu2&amp;do=edit" class="wikilink1" title="Edit"><b>Edit</b>…
126 $path = substr($ID, 0, strpos($ID, ":"));
130 $path = $ID;
132 $path .= ":";
134 if ( file_exists(wikiFN($path."menu2")) )
/template/parallax/lib/js/
Dretina-1.1.0.js64 function RetinaImagePath(path, at_2x_path) { argument
65 this.path = path;
70 this.at_2x_path = path.replace(/\.\w+$/, function(match) { return "@2x" + match; });
78 return !!(this.path.match(/^https?\:/i) && !this.path.match('//' + document.domain) )
119 this.path = new RetinaImagePath(this.el.getAttribute('src'), this.el.getAttribute('data-at2x'));
121 this.path.check_2x_variant(function(hasVariant) {
128 RetinaImage.prototype.swap = function(path) { argument
129 if (typeof path == 'undefined') path = this.path.at_2x_path;
138 that.el.setAttribute('src', path);
/template/dokukitv2/
Dtpl_functions.php53 $path = '';
57 $pathpre = $path;
58 $path .= ($lvl>0) ? ':' . $ns : $ns;
59 $title = p_get_first_heading($path);
61 if($lvl == 0 && !array_key_exists($path, $menu['level1'])) $menu['level1'][$path] = $title;
64 $menu['level'.($lvl+1)][$pathpre][$path] = $title;
66 $menu['level'.($lvl+1)][$pathpre] = array($path => $title);
137 $path = '';
139 $path .= ($n>0) ? ':' . $ns : $ns;
140 $title = p_get_first_heading($path);
[all …]
/template/strap/ComboStrap/Meta/Field/
H A DAliases.php83 $path = $value[AliasPath::PERSISTENT_NAME];
84 if (empty($path)) {
87 $path = $key;
98 $aliases[] = Alias::create($this->getResource(), $path)
101 $path = $value;
102 if (empty($path)) {
105 if (!is_string($path)) {
106 $path = StringUtility::toString($path);
107 … LogUtility::error("The alias element ($path) is not a string", Alias::CANONICAL);
109 $path = WikiPath::createMarkupPathFromId($path);
[all …]
/template/myown/
Dtpl_functions.php107 $path = "";
113 $path = substr($ID, 0, strpos($ID, $namespacechar));
117 $path = $ID;
124 print $path;
126 print p_wiki_xhtml($path.$namespacechar."menu2", '', false);
131 …print '<ul><li><a href="?id='.$path.$namespacechar.'menu2&amp;do=edit" class="wikilink1" title="Ed…
156 $path = substr($ID, 0, strpos($ID, ":"));
160 $path = $ID;
162 $path .= ":";
164 if ( file_exists(wikiFN($path."menu2")) )
/template/darkclean/
Dtpl_functions.php107 $path = "";
113 $path = substr($ID, 0, strpos($ID, $namespacechar));
117 $path = $ID;
124 print $path;
126 print p_wiki_xhtml($path.$namespacechar."menu2", '', false);
131 …print '<ul><li><a href="?id='.$path.$namespacechar.'menu2&amp;do=edit" class="wikilink1" title="Ed…
156 $path = substr($ID, 0, strpos($ID, ":"));
160 $path = $ID;
162 $path .= ":";
164 if ( file_exists(wikiFN($path."menu2")) )
/template/simpleclean/
Dtpl_functions.php107 $path = "";
113 $path = substr($ID, 0, strpos($ID, $namespacechar));
117 $path = $ID;
124 print $path;
126 print p_wiki_xhtml($path.$namespacechar."menu2", '', false);
131 …print '<ul><li><a href="?id='.$path.$namespacechar.'menu2&amp;do=edit" class="wikilink1" title="Ed…
156 $path = substr($ID, 0, strpos($ID, ":"));
160 $path = $ID;
162 $path .= ":";
164 if ( file_exists(wikiFN($path."menu2")) )
/template/mantinedoku/images/
Ddokuwiki.svg60 …<path transform="matrix(.98991 -.14067 .20106 .97564 -158.095 -157.774)" d="m120.22 196.44 70.907-…
61 …<path d="m179.2 182.09 79.842-19.517 26.614 101.72-82.503 21.587L179.2 182.09z" fill="url(#c)" tra…
62 …<path transform="matrix(.99561 -.09253 .08102 .9927 -158.095 -157.774)" d="m159.01 181.74 85.586.5…
64 …<path d="M29.106 38.471 27.179 18.46l5.325-.508.226 2.353-2.47.236 1.474 15.305 2.47-.236.226 2.35…
66 …<path d="M174.76 201.6c-6.046 2.467-10.168 4.42-12.885 6.35s-3.193 4.6-3.246 6.267c-.027.832.08 1.…
67 …<path d="M269.63 220.75c-1.436-.14-2.58.303-2.56 1.502.943.857 1.349 2.435 1.485 3.14s.036 1.22-.4…
68 …<path d="M254.36 220.34c-6.85 3.242-7.153 8.61-5.96 12.799s5.263 8.757 9.322 12.406c8.116 7.299 12…
70 …<path d="m213.97 234.58 2.188-14.429 15.22 6.088 21.494 29.948-20.406 9.218-18.495-30.826z" fill="…
71 …<path d="m232.56 219.53-15.928.322 3.088-15.157 12.84 14.835z" fill="url(#i)" fill-rule="evenodd" …
72 <path d="m63.49 60.634-4.412.078.854-3.966 3.557 3.888z" fill="#812310" fill-rule="evenodd"/>
[all …]
/template/twigstarter/vendor/twig/twig/src/
DSource.php23 private $path; variable in Twig\\Source
28 * @param string $path The filesystem path of the template if any
30 public function __construct(string $code, string $name, string $path = '') argument
34 $this->path = $path;
49 return $this->path;

12345678910>>...45