Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
createbutton.php
1
<?php
2
3
namespace
Bitrix\UI\Buttons\Split
;
4
5
use
Bitrix\Main\Localization\Loc
;
6
use
Bitrix\UI\Buttons\Color
;
7
8
class
CreateButton
extends
Button
9
{
13
protected
function
getDefaultParameters
()
14
{
15
return
[
16
'text'
=>
Loc::getMessage
(
'UI_BUTTONS_CREATE_BTN_TEXT'
),
17
'color'
=>
Color::SUCCESS
,
18
];
19
}
20
}
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\UI\Buttons\Button
Definition
button.php:6
Bitrix\UI\Buttons\Color
Definition
color.php:6
Bitrix\UI\Buttons\Color\SUCCESS
const SUCCESS
Definition
color.php:10
Bitrix\UI\Buttons\CreateButton
Definition
createbutton.php:8
Bitrix\UI\Buttons\Split\CreateButton\getDefaultParameters
getDefaultParameters()
Definition
createbutton.php:13
Bitrix\UI\Buttons\Split
Definition
addbutton.php:3
modules
ui
lib
buttons
split
createbutton.php
Создано системой
1.10.0