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