Lines Matching defs:url
494 * @return Url - the fetch url
497 public function getFetchUrl(Url $url = null): Url
500 $url = parent::getFetchUrl($url);
505 $this->addLocalPathParametersToFetchUrl($url, MediaMarkup::$MEDIA_QUERY_PARAMETER);
511 $url->addQueryParameter(ColorRgb::COLOR, $this->getRequestedColor()->toCssValue());
516 $url->addQueryParameter(self::REQUESTED_PRESERVE_ASPECT_RATIO_KEY, $this->getRequestedPreserveAspectRatio());
521 $url->addQueryParameter(self::REQUESTED_NAME_ATTRIBUTE, $this->getRequestedName());
526 $url->addQueryParameter(Dimension::ZOOM_ATTRIBUTE, $this->getRequestedZoom());
531 $url->addQueryParameter(TagAttributes::CLASS_KEY, $this->getRequestedClass());
536 $url->addQueryParameter(TagAttributes::TYPE_KEY, $this->getRequestedType());
541 return $url;
632 function acceptsFetchUrl(Url $url): bool
636 $dokuPath = FetcherRawLocalPath::createEmpty()->buildFromUrl($url)->processIfNeededAndGetFetchPath();
1674 * Build is done late because we want to be able to create a fetch url even if the file is not a correct svg
1708 * Because we test bad svg, we want to be able to build an url.