Home
last modified time | relevance | path

Searched refs:contextPath (Results 1 – 15 of 15) sorted by relevance

/template/strap/ComboStrap/
DTemplateSlot.php44 private WikiPath $contextPath; variable in ComboStrap\\TemplateSlot
52 public function __construct(string $elementId, WikiPath $contextPath) argument
59 $this->contextPath = $contextPath;
64 …public static function createFromElementId(string $elementId, WikiPath $contextPath = null): Templ… argument
67 if ($contextPath === null) {
68 $contextPath = ExecutionContext::getActualOrCreateFromEnv()
72 return new TemplateSlot($elementId, $contextPath);
156 return "Slot {$this->getElementId()} for {$this->contextPath}";
168 $requestedPath = $this->contextPath;
210 $contextPath = $this->contextPath;
[all …]
DMarkupRenderer.php53 * @param WikiPath|null $contextPath - the requested markup path - may be null (case of webcode)
56 …tion createFromMarkup(string $markup, ?Path $executingPath, ?WikiPath $contextPath): MarkupRenderer argument
63 if ($contextPath != null) {
64 $markupRenderer->setRequestedContextPath($contextPath);
142 $contextPath = null;
144 $contextPath = $this->requestedContextPath;
147 …uctionsSource = MarkupRenderer::createFromMarkup($this->markupSource, $executingPath, $contextPath)
DFetcherAppPages.php62 $contextPath = $this->getSourcePath();
63 if ($contextPath->hasRevision()) {
68 $contextPath = WikiPath::createMarkupPathFromId($contextPath->getWikiId());
83 ->setRequestedContextPath($contextPath);
112 $markupPath = MarkupPath::createPageFromPathObject($contextPath);
DSlotSystem.php37 public static function sendContextPathMessage(MarkupPath $contextPath): void argument
40 $anchorLink = LinkMarkup::createFromPageIdOrPath($contextPath->getWikiId())
43 . $contextPath->getTitleOrDefault()
47 $anchorLink = $contextPath->getTitleOrDefault();
DQualityTag.php118 $contextPath = ExecutionContext::getActualOrCreateFromEnv()->getContextPath();
120 $contextPath = WikiPath::createMarkupPathFromId($pageId);
122 $message = QualityTag::createQualityReport($contextPath);
DFetcherMarkup.php165 …nction createXhtmlMarkupFetcherFromPath(Path $executingPath, WikiPath $contextPath = null): Fetche… argument
167 if ($contextPath === null) {
169 $contextPath = $executingPath->toWikiPath();
174 … $contextPath = ExecutionContext::getActualOrCreateFromEnv()->getDefaultContextPath();
179 ->setRequestedContextPath($contextPath)
222 $contextPath = $executionContext->getContextPath();
224 ->setRequestedContextPath($contextPath);
DExecutionContext.php823 $contextPath = $markupHandler->getRequestedContextPath();
824 $wikiId = $contextPath->getWikiId();
895 * @param WikiPath $contextPath - a markup file context path used (not a namespace)
900 function setDefaultContextPath(WikiPath $contextPath): ExecutionContext argument
902 $this->getConfig()->setDefaultContextPath($contextPath);
DFetcherMarkupBuilder.php148 * @param WikiPath $contextPath
151 public function setRequestedContextPath(WikiPath $contextPath): FetcherMarkupBuilder argument
153 $this->requestedContextPath = $contextPath;
DOutline.php511 * @param WikiPath $contextPath
514 …function createFromMarkup(string $content, MarkupPath $contentPath, WikiPath $contextPath): Outline argument
516 $instructions = MarkupRenderer::createFromMarkup($content, $contentPath, $contextPath)
913 $contextPath = $this->markupPath->getPathObject()->toWikiPath();
915 ->setRequestedContextPath($contextPath)
DSiteConfig.php261 public function setDefaultContextPath(WikiPath $contextPath) argument
263 $this->defaultContextPath = $contextPath;
271 … throw new ExceptionRuntimeInternal("The path ($contextPath) should not be a namespace path");
DTemplateForWebPage.php531 $contextPath = $this->getRequestedContextPath();
532 $markupPath = MarkupPath::createPageFromPathObject($contextPath);
549 ->setRequestedPath($contextPath)
1057 function setRequestedContextPath(WikiPath $contextPath): TemplateForWebPage argument
1059 $this->requestedContextPath = $contextPath;
DWikiPath.php279 $contextPath = $executionContext->getContextPath();
285 return $contextPath->getParent()->getParent();
287 …throw new ExceptionBadArgument("The context path ($contextPath) does not have a grand parent, ther…
294 return $contextPath->getParent();
DMarkupPath.php1904 $contextPath = $path->toWikiPath();
1906 $contextPath = ExecutionContext::getActualOrCreateFromEnv()
1911 ->setRequestedContextPath($contextPath)
/template/strap/syntax/
Diterator.php517 $contextPath = $executionContext->getContextPath();
560 ->setRequestedContextPath($contextPath)
/template/strap/ComboStrap/Tag/
DWebCodeTag.php269 $contextPath = ExecutionContext::getActualOrCreateFromEnv()
275 ->setRequestedContextPath($contextPath)