Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Agent

Открытые статические члены

static start ($feedType, $siteId, $startPosition="", $once=false)
 
static add ($feedType, $siteId, $interval, $once=false)
 
static update ($siteId, array $feedSettings)
 

Защищенные статические члены

static createAgentNameForAdd ($feedType, $siteId, $once=false)
 

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

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

Методы

◆ add()

static add ( $feedType,
$siteId,
$interval,
$once = false )
static
Аргументы
$feedType
$siteId
$interval
bool | false$once
Возвращает
bool|int
Исключения
ArgumentNullException
ArgumentOutOfRangeException

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

◆ createAgentNameForAdd()

static createAgentNameForAdd ( $feedType,
$siteId,
$once = false )
staticprotected

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

◆ start()

static start ( $feedType,
$siteId,
$startPosition = "",
$once = false )
static

Starts data exchange.

Аргументы
$feedType
$siteId
string$startPosition
bool | false$once
Возвращает
string
Исключения
ArgumentNullException
ArgumentOutOfRangeException

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

◆ update()

static update ( $siteId,
array $feedSettings )
static

Update agent's params.

Аргументы
string$siteIdSite id.
array$feedSettingsFeed settings.
Возвращает
array Feed settings with renew agents ids.

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