1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
component.php
См. документацию.
1<?php
2
3namespace Bitrix\Main\Engine\Response\Render;
4
5use CMain;
6
12final class Component extends Base
13{
14 public function __construct(
15 private string $name,
16 private string $template,
17 private array $params = [],
18 bool $withSiteTemplate = true,
19 )
20 {
21 parent::__construct($withSiteTemplate);
22 }
23
24 protected function renderContent(): void
25 {
26 global $APPLICATION;
27
31
32 $APPLICATION->IncludeComponent(
33 $this->name,
34 $this->template,
35 $this->params
36 );
37 }
38}
global $APPLICATION
Определения include.php:80
__construct(private string $name, private string $template, private array $params=[], bool $withSiteTemplate=true,)
Определения component.php:14
$template
Определения file_edit.php:49
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$name
Определения menu_edit.php:35
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения template.php:799