1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
feedbackbutton.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\UI\Buttons;
4
5
use Bitrix\Main\Localization\Loc;
6
7
class
FeedbackButton
extends
Button
8
{
12
protected
function
getDefaultParameters
():
array
13
{
14
return
[
15
'text'
=> Loc::getMessage(
'UI_BUTTONS_FEEDBACK_BTN_TEXT'
),
16
'color'
=>
Color::LIGHT_BORDER
,
17
'dataset'
=> [
18
'toolbar-collapsed-icon'
=>
Icon::MAIL
,
19
],
20
];
21
}
22
23
protected
function
init
(
array
$params
= []): void
24
{
25
$params
[
'highlight'
] = (bool)(
$params
[
'highlight'
] ??
false
);
26
if
(
$params
[
'highlight'
])
27
{
28
$params
[
'styles'
] ??= [];
29
$params
[
'styles'
][
'z-index'
] = 140;
30
$params
[
'styles'
][
'background-color'
] =
'#fff'
;
31
}
32
unset(
$params
[
'highlight'
]);
33
34
parent::init(
$params
);
35
}
36
40
public
static
function
getJsClass
(): string
41
{
42
return
'BX.UI.Button'
;
43
}
44
}
Bitrix\UI\Buttons\Button
Определения
button.php:6
Bitrix\UI\Buttons\Color\LIGHT_BORDER
const LIGHT_BORDER
Определения
color.php:17
Bitrix\UI\Buttons\FeedbackButton
Определения
feedbackbutton.php:8
Bitrix\UI\Buttons\FeedbackButton\getJsClass
static getJsClass()
Определения
feedbackbutton.php:40
Bitrix\UI\Buttons\FeedbackButton\init
init(array $params=[])
Определения
feedbackbutton.php:23
Bitrix\UI\Buttons\FeedbackButton\getDefaultParameters
getDefaultParameters()
Определения
feedbackbutton.php:12
Bitrix\UI\Buttons\Icon\MAIL
const MAIL
Определения
icon.php:39
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$params
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения
template.php:799
bitrix
modules
ui
lib
buttons
feedbackbutton.php
Создано системой
1.14.0