1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
app.php
См. документацию.
1
<?php
2
namespace
Bitrix\Sale\Exchange\Integration\Service\Command\Line
;
3
4
5
use
Bitrix\Sale\Exchange\Integration
;
6
use
Bitrix\Sale\Exchange\Integration\Exception
;
7
8
class
App
9
implements
Integration\Service\Command\IProxy
10
{
11
static
public
function
getProxy
()
12
{
13
return
new
Integration\Rest\RemoteProxies\CRM\App
();
14
}
15
16
static
public
function
optionSet
(
array
$option
)
17
{
18
$proxy
= static::getProxy();
19
$r =
$proxy
->optionSet(
$option
);
20
if
($r->isSuccess())
21
{
22
$result
= $r->getData()[
'DATA'
][
'result'
];
23
}
24
else
25
{
26
throw
new
Exception\CommandLineException
(implode(
','
, $r->getErrorMessages()));
27
}
28
29
return
$result
;
30
}
31
}
Bitrix\Sale\Exchange\Integration\Exception\CommandLineException
Определения
commandlineexception.php:8
Bitrix\Sale\Exchange\Integration\Service\Command\Line\App\optionSet
static optionSet(array $option)
Определения
app.php:16
Bitrix\Sale\Exchange\Integration\Service\Command\Line\App\getProxy
static getProxy()
Определения
app.php:11
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\Sale\Exchange\Integration\Service\Command\IProxy
Определения
iproxy.php:6
$proxy
$proxy
Определения
proxy.php:11
Bitrix\Sale\Exchange\Integration\App
Определения
base.php:4
Bitrix\Sale\Exchange\Integration\Exception
Определения
batchableexception.php:4
Bitrix\Sale\Exchange\Integration\Service\Command\Line
Определения
app.php:2
Bitrix\Sale\Exchange\Integration
$option
$option
Определения
options.php:1711
bitrix
modules
sale
lib
exchange
integration
service
command
line
app.php
Создано системой
1.14.0