Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
provider.php
1
<?php
2
namespace
Bitrix\Sale\Internals\Analytics
;
3
4
use
Bitrix\Main\Loader
;
5
use
Bitrix\Main\Type\DateTime
;
6
12
abstract
class
Provider
13
{
17
abstract
public
static
function
getCode
(): string;
18
22
abstract
protected
function
needProvideData
(): bool;
23
27
abstract
protected
function
getProviderData
(): array;
28
32
public
function
getData
(): array
33
{
34
$result = [];
35
36
if
($this->
needProvideData
())
37
{
38
$data = $this->
getProviderData
();
39
if
($data)
40
{
41
$result = $data;
42
}
43
}
44
45
return
$result;
46
}
47
}
Bitrix\Main\Loader
Definition
loader.php:12
Bitrix\Main\Type\DateTime
Definition
datetime.php:9
Bitrix\Rest\OAuth\Provider
Definition
provider.php:11
Bitrix\Sale\Internals\Analytics\Provider\getCode
static getCode()
Bitrix\Sale\Internals\Analytics\Provider\getData
getData()
Definition
provider.php:32
Bitrix\Sale\Internals\Analytics\Provider\getProviderData
getProviderData()
Bitrix\Sale\Internals\Analytics\Provider\needProvideData
needProvideData()
Bitrix\Sale\Internals\Analytics
Definition
agent.php:2
modules
sale
lib
internals
analytics
provider.php
Создано системой
1.10.0