Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
placementdeal.php
1<?php
2
3
5
6
8
9class 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}