Lines Matching refs:model

69     private array $model;  variable in ComboStrap\\TemplateForWebPage
111 public function setModel(array $model): TemplateForWebPage argument
113 $this->model = $model;
165 $model = $this->getModel();
168 return self::DOCTYPE . $pageTemplateEngine->renderWebPage($template, $model);
479 $model =
486 if (isset($this->model)) {
487 return array_merge($model, $this->model);
495 $model["layout-container-class"] = $containerClass;
502 $model["rem-size"] = $executionConfig->getRemFontSize();
524 … $model['body-classes'] = "$bodyDokuwikiClass position-relative $bodyTemplateIdentifierClass";
537 $model = array_merge($metadata, $model);
547 $model["railbar-html"] = FetcherRailBar::createRailBar()
561 … $model[BrandingColors::PRIMARY_COLOR_TEMPLATE_ATTRIBUTE] = $primaryColor->toCssValue();
562 … $model[BrandingColors::PRIMARY_COLOR_TEXT_ATTRIBUTE] = ColorSystem::toTextColor($primaryColor);
563 …$model[BrandingColors::PRIMARY_COLOR_TEXT_HOVER_ATTRIBUTE] = ColorSystem::toTextHoverColor($primar…
566 $model[BrandingColors::PRIMARY_COLOR_TEMPLATE_ATTRIBUTE] = null;
570 … $model[BrandingColors::SECONDARY_COLOR_TEMPLATE_ATTRIBUTE] = $secondaryColor->toCssValue();
580 $model["main-content-html"] = $this->mainContent;
594 $model["main-content-html"] = FetcherMarkup::confRoot()
602 $model["main-content-html"] = "An error has occured. " . $e->getMessage();
609 $model['toc-class'] = Toc::getClass();
610 $model['toc-html'] = $this->getTocOrDefault()->toXhtml();
619 $model["$elementId-html"] = $slot->getMarkupFetcher()->getFetchString();
624 … $model["$elementId-html"] = LogUtility::wrapInRedForHtml("Error: " . $e->getMessage());
638 $model["main-content-afterbegin-html"] = $tplActRenderOutput;
645 $model["main-content-html"] = $this->mainContent;
657 $model['head-html'] = $this->getHeadHtml();
666 $model['preloaded-stylesheet-html'] = $this->getHtmlForPreloadedStyleSheets();
674 $model['powered-by'] = self::getPoweredBy();
683 $model['messages-html'] = $this->getMessages();
689 …$model['head-html'] .= Snippet::getOrCreateFromComponentId("toast", Snippet::EXTENSION_JS)->toXhtm…
700 $model['task-runner-html'] = $this->getTaskRunnerImg();
703 return $model;