1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
baseaction.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Main\Grid\Row\Action;
4
10
abstract
class
BaseAction
implements
Action
11
{
17
protected
?
bool
$default
;
23
protected
?
string
$className
;
29
protected
?
string
$title
;
37
protected
?
string
$href
;
45
protected
?
string
$onclick
;
46
52
abstract
protected
function
getText
(): string;
53
57
public
function
getControl
(
array
$rawFields): ?
array
58
{
59
$result
= [
60
'TEXT'
=> $this->
getText
(),
61
];
62
63
$propertyMap = [
64
'default'
=>
'DEFAULT'
,
65
'className'
=>
'ICONCLASS'
,
66
'title'
=>
'TITLE'
,
67
'href'
=>
'HREF'
,
68
'onclick'
=>
'ONCLICK'
,
69
];
70
foreach
($propertyMap as $propertyName => $actionName)
71
{
72
$propertyValue
= $this->{$propertyName} ??
null
;
73
if
(isset(
$propertyValue
))
74
{
75
$result
[$actionName] =
$propertyValue
;
76
}
77
}
78
79
return
$result
;
80
}
81
}
Bitrix\Main\Grid\Row\Action\BaseAction
Определения
baseaction.php:11
Bitrix\Main\Grid\Row\Action\BaseAction\$className
string $className
Определения
baseaction.php:23
Bitrix\Main\Grid\Row\Action\BaseAction\getControl
getControl(array $rawFields)
Определения
baseaction.php:57
Bitrix\Main\Grid\Row\Action\BaseAction\$title
string $title
Определения
baseaction.php:29
Bitrix\Main\Grid\Row\Action\BaseAction\$default
bool $default
Определения
baseaction.php:17
Bitrix\Main\Grid\Row\Action\BaseAction\$onclick
string $onclick
Определения
baseaction.php:45
Bitrix\Main\Grid\Row\Action\BaseAction\getText
getText()
Bitrix\Main\Grid\Row\Action\BaseAction\$href
string $href
Определения
baseaction.php:37
$propertyValue
</td ></tr ></table ></td ></tr ><?endif?><? $propertyIndex=0;foreach( $arGlobalProperties as $propertyCode=> $propertyValue
Определения
file_new.php:729
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\Main\Grid\Row\Action\Action
Определения
action.php:12
bitrix
modules
main
lib
grid
row
action
baseaction.php
Создано системой
1.14.0