Lines Matching defs:path
25 * If this is a {@link MarkupRef::WIKI_URI}, you may also get the {@link MarkupRef::getPath() path}
32 * * `src` is not only the media path but may have a anchor
66 private ?Path $path = null;
193 $this->path = WikiPath::createRequestedPagePathFromRequest();
259 * The path is created at the end because it may have a revision
283 * The path
291 * The wiki path may be relative
295 $this->path = WikiPath::createMediaPathFromId($wikiPath, $rev);
296 $this->url->addQueryParameter(MediaMarkup::$MEDIA_QUERY_PARAMETER, $this->path->getWikiId());
307 * The path may be an id if it exists
308 * otherwise it's a relative path
316 // because if the wiki path is the empty string,
326 * The path may be a namespace, in the page system
327 * the path should then be the index page
330 $this->path = $markupPath->getPathObject()->toWikiPath();
332 throw new ExceptionRuntimeInternal("Path should be a wiki path");
334 $this->url->addQueryParameter(DokuwikiId::DOKUWIKI_ID_ATTRIBUTE, $this->path->getWikiId());
383 * In case of manual entry, the function will normalize the path
384 * @param string $wikiPath - a path entered by a user
454 if ($this->path === null) {
455 throw new ExceptionNotFound("No path was found");
457 return $this->path;