Lines Matching refs:this
42 * @var WikiPath - the context path of this slot
46 * @var FetcherMarkup - the fetcher if this is a slot and has a page fragment source
55 $this->elementId = $elementId;
59 $this->contextPath = $contextPath;
139 return WikiPath::createComboResource(":slot:{$this->getElementId()}.md");
148 $elementId = $this->getElementId();
156 return "Slot {$this->getElementId()} for {$this->contextPath}";
168 $requestedPath = $this->contextPath;
169 if ($this->getElementId() === self::MAIN_CONTENT_ID) {
175 return FileSystems::closest($requestedPath, $this->getLastFileNameForFragment() . '.' . $contextExtension);
182 return FileSystems::closest($requestedPath, $this->getLastFileNameForFragment() . '.' . $contextExtension);
190 return $this->getDefaultSlotContentPath();
203 if (isset($this->fetcherFragment)) {
204 return $this->fetcherFragment;
209 $fragmentPath = $this->getFragmentPath();
210 $contextPath = $this->contextPath;
212 $this->fetcherFragment = FetcherMarkup::createXhtmlMarkupFetcherFromPath($fragmentPath, $contextPath);
216 return $this->fetcherFragment;
222 return $this->elementId;
227 return self::getPathNameFromElementId($this->getElementId());