Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
rendercontrolcontent.php
1
<?php
2
3
namespace
Bitrix\Bizproc\Controller\Response
;
4
5
use
Bitrix\Main
;
6
7
class
RenderControlContent
implements
Main\Engine\Response\ContentArea\ContentAreaInterface
8
{
9
protected
array
$documentType
;
10
protected
array
$property
;
11
protected
array
$params
;
12
13
public
function
__construct
(array
$documentType
, array
$property
, array
$params
)
14
{
15
$this->documentType =
$documentType
;
16
$this->
property
=
$property
;
17
$this->params =
$params
;
18
}
19
20
public
function
getHtml
()
21
{
22
$documentService = \CBPRuntime::GetRuntime(
true
)->getDocumentService();
23
24
return
$documentService->getFieldInputControl(
25
$this->documentType,
26
$this->property,
27
$this->params[
'Field'
],
28
$this->params[
'Value'
],
29
(
bool
)$this->params[
'Als'
],
30
$this->params[
'RenderMode'
] ===
'public'
31
);
32
}
33
}
Bitrix\Bizproc\Controller\Response\RenderControlContent
Definition
rendercontrolcontent.php:8
Bitrix\Bizproc\Controller\Response\RenderControlContent\$params
array $params
Definition
rendercontrolcontent.php:11
Bitrix\Bizproc\Controller\Response\RenderControlContent\__construct
__construct(array $documentType, array $property, array $params)
Definition
rendercontrolcontent.php:13
Bitrix\Bizproc\Controller\Response\RenderControlContent\$property
array $property
Definition
rendercontrolcontent.php:10
Bitrix\Bizproc\Controller\Response\RenderControlContent\$documentType
array $documentType
Definition
rendercontrolcontent.php:9
Bitrix\Bizproc\Controller\Response\RenderControlContent\getHtml
getHtml()
Definition
rendercontrolcontent.php:20
Bitrix\Main\Engine\Response\ContentArea\ContentAreaInterface
Definition
contentareainterface.php:5
Bitrix\Bizproc\Controller\Response
Definition
rendercontrolcollectioncontent.php:3
Bitrix\Main
modules
bizproc
lib
controller
response
rendercontrolcontent.php
Создано системой
1.10.0