Searched refs:contextPath (Results 1 – 15 of 15) sorted by relevance
/template/strap/ComboStrap/ |
D | TemplateSlot.php | 44 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 …]
|
D | MarkupRenderer.php | 53 * @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)
|
D | FetcherAppPages.php | 62 $contextPath = $this->getSourcePath(); 63 if ($contextPath->hasRevision()) { 68 $contextPath = WikiPath::createMarkupPathFromId($contextPath->getWikiId()); 83 ->setRequestedContextPath($contextPath); 112 $markupPath = MarkupPath::createPageFromPathObject($contextPath);
|
D | SlotSystem.php | 37 public static function sendContextPathMessage(MarkupPath $contextPath): void argument 40 $anchorLink = LinkMarkup::createFromPageIdOrPath($contextPath->getWikiId()) 43 . $contextPath->getTitleOrDefault() 47 $anchorLink = $contextPath->getTitleOrDefault();
|
D | QualityTag.php | 118 $contextPath = ExecutionContext::getActualOrCreateFromEnv()->getContextPath(); 120 $contextPath = WikiPath::createMarkupPathFromId($pageId); 122 $message = QualityTag::createQualityReport($contextPath);
|
D | FetcherMarkup.php | 165 …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);
|
D | ExecutionContext.php | 823 $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);
|
D | FetcherMarkupBuilder.php | 148 * @param WikiPath $contextPath 151 public function setRequestedContextPath(WikiPath $contextPath): FetcherMarkupBuilder argument 153 $this->requestedContextPath = $contextPath;
|
D | Outline.php | 511 * @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)
|
D | SiteConfig.php | 261 public function setDefaultContextPath(WikiPath $contextPath) argument 263 $this->defaultContextPath = $contextPath; 271 … throw new ExceptionRuntimeInternal("The path ($contextPath) should not be a namespace path");
|
D | TemplateForWebPage.php | 531 $contextPath = $this->getRequestedContextPath(); 532 $markupPath = MarkupPath::createPageFromPathObject($contextPath); 549 ->setRequestedPath($contextPath) 1057 function setRequestedContextPath(WikiPath $contextPath): TemplateForWebPage argument 1059 $this->requestedContextPath = $contextPath;
|
D | WikiPath.php | 279 $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();
|
D | MarkupPath.php | 1904 $contextPath = $path->toWikiPath(); 1906 $contextPath = ExecutionContext::getActualOrCreateFromEnv() 1911 ->setRequestedContextPath($contextPath)
|
/template/strap/syntax/ |
D | iterator.php | 517 $contextPath = $executionContext->getContextPath(); 560 ->setRequestedContextPath($contextPath)
|
/template/strap/ComboStrap/Tag/ |
D | WebCodeTag.php | 269 $contextPath = ExecutionContext::getActualOrCreateFromEnv() 275 ->setRequestedContextPath($contextPath)
|