1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
rendercontrolcollectioncontent.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Bizproc\Controller\Response
;
4
5
use
Bitrix\Main\Engine\Response\ContentArea\ContentAreaInterface
;
6
7
class
RenderControlCollectionContent
implements
ContentAreaInterface
8
{
9
private \CBPDocumentService $documentService;
10
private
array
$rendered = [];
11
12
public
function
__construct
()
13
{
14
$this->documentService = \CBPRuntime::getRuntime()->getDocumentService();
15
}
16
17
public
function
addProperty
(
array
$documentType,
array
$property,
array
$params
): static
18
{
19
$this->rendered[] = $this->documentService->getFieldInputControl(
20
$documentType,
21
$property,
22
$params
[
'Field'
],
23
$params
[
'Value'
],
24
(
bool
)
$params
[
'Als'
],
25
$params
[
'RenderMode'
] ===
'public'
26
);
27
28
return
$this;
29
}
30
34
public
function
getRenderedProperties
():
array
35
{
36
return
$this->rendered;
37
}
38
39
public
function
getHtml
():
array
40
{
41
return
$this->
getRenderedProperties
();
42
}
43
}
Bitrix\Bizproc\Controller\Response\RenderControlCollectionContent
Определения
rendercontrolcollectioncontent.php:8
Bitrix\Bizproc\Controller\Response\RenderControlCollectionContent\__construct
__construct()
Определения
rendercontrolcollectioncontent.php:12
Bitrix\Bizproc\Controller\Response\RenderControlCollectionContent\addProperty
addProperty(array $documentType, array $property, array $params)
Определения
rendercontrolcollectioncontent.php:17
Bitrix\Bizproc\Controller\Response\RenderControlCollectionContent\getHtml
getHtml()
Определения
rendercontrolcollectioncontent.php:39
Bitrix\Bizproc\Controller\Response\RenderControlCollectionContent\getRenderedProperties
getRenderedProperties()
Определения
rendercontrolcollectioncontent.php:34
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Engine\Response\ContentArea\ContentAreaInterface
Определения
contentareainterface.php:5
Bitrix\Bizproc\Controller\Response
Определения
rendercontrolcollectioncontent.php:3
$params
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения
template.php:799
bitrix
modules
bizproc
lib
controller
response
rendercontrolcollectioncontent.php
Создано системой
1.14.0