Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
placementdeal.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Exchange\Integration\CRM\Placement
;
5
6
7
use
Bitrix\Sale\Exchange\Integration\CRM\EntityType
;
8
9
class
PlacementDeal
extends
Base
10
{
11
const
REQUEST_PARAM_HANDLER
=
'HANDLER'
;
12
const
REQUEST_PARAM_REST_APP_LAYOUT
=
'REST_APP_LAYOUT'
;
13
14
public
function
getType
()
15
{
16
return
Type::DEAL_DETAIL_TOOLBAR;
17
}
18
19
public
function
getEntityId
()
20
{
21
return
$this->fields->get(
'PLACEMENT_OPTIONS'
)[
'ID'
];
22
}
23
24
public
function
getEntityTypeId
()
25
{
26
return
EntityType::DEAL
;
27
}
28
29
public
function
getTypeHandler
()
30
{
31
return
$this->fields->get(self::REQUEST_PARAM_HANDLER);
32
}
33
34
public
function
getRestAppLayoutMode
()
35
{
36
return
$this->fields->get(self::REQUEST_PARAM_REST_APP_LAYOUT);
37
}
38
}
Bitrix\Sale\Exchange\Integration\CRM\EntityType
Definition
entitytype.php:5
Bitrix\Sale\Exchange\Integration\CRM\EntityType\DEAL
const DEAL
Definition
entitytype.php:7
Bitrix\Sale\Exchange\Integration\CRM\Placement\Base
Definition
base.php:11
Bitrix\Sale\Exchange\Integration\CRM\Placement\PlacementDeal
Definition
placementdeal.php:10
Bitrix\Sale\Exchange\Integration\CRM\Placement\PlacementDeal\getEntityId
getEntityId()
Definition
placementdeal.php:19
Bitrix\Sale\Exchange\Integration\CRM\Placement\PlacementDeal\REQUEST_PARAM_REST_APP_LAYOUT
const REQUEST_PARAM_REST_APP_LAYOUT
Definition
placementdeal.php:12
Bitrix\Sale\Exchange\Integration\CRM\Placement\PlacementDeal\getTypeHandler
getTypeHandler()
Definition
placementdeal.php:29
Bitrix\Sale\Exchange\Integration\CRM\Placement\PlacementDeal\getRestAppLayoutMode
getRestAppLayoutMode()
Definition
placementdeal.php:34
Bitrix\Sale\Exchange\Integration\CRM\Placement\PlacementDeal\getType
getType()
Definition
placementdeal.php:14
Bitrix\Sale\Exchange\Integration\CRM\Placement\PlacementDeal\REQUEST_PARAM_HANDLER
const REQUEST_PARAM_HANDLER
Definition
placementdeal.php:11
Bitrix\Sale\Exchange\Integration\CRM\Placement\PlacementDeal\getEntityTypeId
getEntityTypeId()
Definition
placementdeal.php:24
Bitrix\Sale\Exchange\Integration\CRM\Placement
Definition
base.php:4
modules
sale
lib
exchange
integration
crm
placement
placementdeal.php
Создано системой
1.10.0