1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
customconfig.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Main\Grid\Column\Editable;
4
5
use Bitrix\Main\Grid\Editor\Types;
6
10
class
CustomConfig
extends
Config
11
{
12
private
?
string
$html;
13
18
public
function
__construct
(
string
$name, ?
string
$html =
null
)
19
{
20
parent::__construct($name, Types::CUSTOM);
21
22
$this->html = $html;
23
}
24
32
public
function
setHtml
(
string
$value)
33
{
34
$this->html = $value;
35
}
36
40
public
function
toArray
():
array
41
{
42
$result
= parent::toArray();
43
44
if
(isset($this->html))
45
{
46
$result
[
'HTML'
] = $this->html;
47
}
48
49
return
$result
;
50
}
51
}
Bitrix\Main\Grid\Column\Editable\Config
Определения
config.php:11
Bitrix\Main\Grid\Column\Editable\CustomConfig
Определения
customconfig.php:11
Bitrix\Main\Grid\Column\Editable\CustomConfig\__construct
__construct(string $name, ?string $html=null)
Определения
customconfig.php:18
Bitrix\Main\Grid\Column\Editable\CustomConfig\toArray
toArray()
Определения
customconfig.php:40
Bitrix\Main\Grid\Column\Editable\CustomConfig\setHtml
setHtml(string $value)
Определения
customconfig.php:32
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$result
$result
Определения
get_property_values.php:14
bitrix
modules
main
lib
grid
column
editable
customconfig.php
Создано системой
1.14.0