1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс VkExportedData

Открытые члены

 __construct ($exportId, $type)
 getData ()
 removeData ()
 addData ($newData)

Поля данных

const CACHE_DIR = '/sale/vkexport/'
const CACHE_TTL = 3600
const CACHE_ID_PREFIX = "vkexporteddata_cache"

Подробное описание

См. определение в файле vkexporteddata.php строка 18

Конструктор(ы)

◆ __construct()

__construct ( $exportId,
$type )

VkExportedData constructor.

Аргументы
$exportId- int, ID of export profile
$type- string of export type

См. определение в файле vkexporteddata.php строка 33

Методы

◆ addData()

addData ( $newData)

Add data to saveed array

Аргументы
$newData- array to special format
Возвращает
void

См. определение в файле vkexporteddata.php строка 88

◆ getData()

getData ( )

Get data from cache or load them from VK

Возвращает
array|bool|mixed|null - data

См. определение в файле vkexporteddata.php строка 51

◆ removeData()

removeData ( )

Clean cache

Возвращает
void

См. определение в файле vkexporteddata.php строка 75

Поля

◆ CACHE_DIR

const CACHE_DIR = '/sale/vkexport/'

См. определение в файле vkexporteddata.php строка 21

◆ CACHE_ID_PREFIX

const CACHE_ID_PREFIX = "vkexporteddata_cache"

См. определение в файле vkexporteddata.php строка 23

◆ CACHE_TTL

const CACHE_TTL = 3600

См. определение в файле vkexporteddata.php строка 22


Объявления и описания членов класса находятся в файле: