Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
businessprocessprovider.php
1<?php
2
4
7
8/*
9 * BP_PUBLISHED - STATUS - WF_STATUS_ID (order not worked)
10 */
11
13{
14 public function prepareColumns(): array
15 {
16 $result = parent::prepareColumns();
17
18 if (!$this->isSkuSelectorEnabled() && $this->usedBusinessProcesses())
19 {
20 $result['BP_PUBLISHED'] = $this->createColumn('BP_PUBLISHED', [
21 'type' => Grid\Column\Type::CUSTOM,
22 'name' => Loc::getMessage(''),
23 'necessary' => true,
24 'sort' => 'WF_STATUS_ID',
25 ]);
26 }
27
28 return $result;
29 }
30}
createColumn(string $columnId, array $params=[])
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29