Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
integrationb24neworder.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Exchange\Integration\Connector\Placement
;
5
6
7
use
Bitrix\Main\Localization\Loc
;
8
use
Bitrix\Sale\Exchange\Integration
;
9
use
Bitrix\Sale\Exchange\Integration\CRM\Placement
;
10
11
Loc::loadMessages
(__FILE__);
12
13
class
IntegrationB24NewOrder
extends
Base
14
{
15
16
public
function
getTitle
()
17
{
18
return
Loc::getMessage
(
'SALE_INTEGRATIONB24_NEWORDER_TITLE'
);
19
}
20
21
public
function
getGroupName
()
22
{
23
return
Loc::getMessage
(
'SALE_INTEGRATIONB24_NEWORDER_GROUPNAME'
);
24
}
25
26
public
function
getPlacement
()
27
{
28
return
Placement\Type::DEAL_DETAIL_TOOLBAR_NAME;
29
}
30
31
public
function
getPlacmentHandler
()
32
{
33
return
$this->
getAppUrl
().
'?'
.http_build_query([
34
Placement\
PlacementDeal::REQUEST_PARAM_HANDLER
=> Integration\
HandlerType::ORDER_NEW
,
35
Placement\
PlacementDeal::REQUEST_PARAM_REST_APP_LAYOUT
=>
'Y'
36
]);
37
}
38
}
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
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\REQUEST_PARAM_HANDLER
const REQUEST_PARAM_HANDLER
Definition
placementdeal.php:11
Bitrix\Sale\Exchange\Integration\Connector\Placement\Base
Definition
base.php:8
Bitrix\Sale\Exchange\Integration\Connector\Placement\Base\getAppUrl
getAppUrl()
Definition
base.php:16
Bitrix\Sale\Exchange\Integration\Connector\Placement\IntegrationB24NewOrder
Definition
integrationb24neworder.php:14
Bitrix\Sale\Exchange\Integration\Connector\Placement\IntegrationB24NewOrder\getGroupName
getGroupName()
Definition
integrationb24neworder.php:21
Bitrix\Sale\Exchange\Integration\Connector\Placement\IntegrationB24NewOrder\getPlacmentHandler
getPlacmentHandler()
Definition
integrationb24neworder.php:31
Bitrix\Sale\Exchange\Integration\Connector\Placement\IntegrationB24NewOrder\getTitle
getTitle()
Definition
integrationb24neworder.php:16
Bitrix\Sale\Exchange\Integration\Connector\Placement\IntegrationB24NewOrder\getPlacement
getPlacement()
Definition
integrationb24neworder.php:26
Bitrix\Sale\Exchange\Integration\HandlerType\ORDER_NEW
const ORDER_NEW
Definition
handlertype.php:9
Bitrix\Sale\Exchange\Integration\CRM\Placement
Definition
base.php:4
Bitrix\Sale\Exchange\Integration\Connector\Placement
Definition
base.php:4
Bitrix\Sale\Exchange\Integration
modules
sale
lib
exchange
integration
connector
placement
integrationb24neworder.php
Создано системой
1.10.0