Lines Matching refs:url

21  *   * a {@link UrlEndpoint::createFetchUrl() fetch url} for a media
22 * * a {@link UrlEndpoint::createDokuUrl() doku url} for a link (ie page)
64 private ?Url $url = null;
80 $this->url = Url::createEmpty();
101 $this->url = Url::createFromString("mailto:$email");
104 $this->url = Url::createFromString("mailto:$ref");
122 $this->url = Url::createFromString($ref);
129 if (!in_array($this->url->getScheme(), $authorizedSchemes)) {
130 throw new ExceptionBadSyntax("The scheme ({$this->url->getScheme()}) of the URL ({$this->url}) is not authorized");
133 $isImage = FileSystems::getMime($this->url)->isImage();
138 $properties = $this->url->getQueryProperties();
149 $this->url->addQueryParameter(Dimension::WIDTH_KEY, $width);
152 $this->url->addQueryParameter(Dimension::HEIGHT_KEY, $height);
155 $this->url->addQueryParameter(Dimension::WIDTH_KEY, $width);
157 $this->url->deleteQueryParameter($widthAndHeight);
158 if ($this->url->hasProperty(MediaMarkup::LINKING_NOLINK_VALUE)) {
159 $this->url->addQueryParameter(MediaMarkup::LINKING_KEY, MediaMarkup::LINKING_NOLINK_VALUE);
160 $this->url->deleteQueryParameter(MediaMarkup::LINKING_NOLINK_VALUE);
169 throw new ExceptionBadSyntax("The url string was not validated as an URL ($ref). Error: {$e->getMessage()}");
178 $this->url = LocalPath::createFromPathString($ref)->getUrl();
192 $this->url = Url::createEmpty()->setFragment($fragment);
215 $this->url = $this->interWiki->toUrl();
263 $this->url = UrlEndpoint::createFetchUrl();
266 $this->url = UrlEndpoint::createDokuUrl();
286 $rev = $this->url->getQueryPropertyValue(WikiPath::REV_ATTRIBUTE);
296 $this->url->addQueryParameter(MediaMarkup::$MEDIA_QUERY_PARAMETER, $this->path->getWikiId());
300 $this->url->setFragment($fragment);
334 $this->url->addQueryParameter(DokuwikiId::DOKUWIKI_ID_ATTRIBUTE, $this->path->getWikiId());
339 $this->url->setFragment($fragment);
445 return $this->url;
485 $this->url->addQueryParameter(WikiPath::REV_ATTRIBUTE, $rev);
532 $this->url->addQueryParameter(Dimension::WIDTH_KEY, $sizing[1]);
534 $this->url->addQueryParameter(Dimension::HEIGHT_KEY, $sizing[2]);
549 $this->url->addQueryParameter(MediaMarkup::LINKING_KEY, $linkingValue);
563 $this->url->addQueryParameter(IFetcherAbs::CACHE_KEY, $noCacheValue);
575 $this->url->setFragment(substr($token, 1));
600 $this->url->setFragment(substr($key, $anchorPosition + 1));
645 $this->url->setFragment(substr($value, $anchorPosition + 1));
651 $this->url->addQueryParameter(Dimension::WIDTH_KEY, $value);
654 $this->url->addQueryParameter(Dimension::HEIGHT_KEY, $value);
657 $this->url->addQueryParameter($key, $value);