Bitrix API

Replicator

AbstractYes

Table of Contents

Constants

AGENT_NAME_PARAMETER  = 'agentName'
AGENT_TEMPLATE  = 'CTasks::RepeatTaskByTemplateId(#ID#);'
DEBUG_KEY  = 'tasks_use_new_replication_use_debug'
EMPTY_AGENT  = ''
NEW_REPLICATION_KEY  = 'tasks_use_new_replication'

Methods

__construct()  : mixed
getAgentName()  : string
isEnabled()  : bool
replicate()  : string

Constants

AGENT_NAME_PARAMETER

public mixed AGENT_NAME_PARAMETER = 'agentName'

AGENT_TEMPLATE

public mixed AGENT_TEMPLATE = 'CTasks::RepeatTaskByTemplateId(#ID#);'

DEBUG_KEY

public mixed DEBUG_KEY = 'tasks_use_new_replication_use_debug'

NEW_REPLICATION_KEY

public mixed NEW_REPLICATION_KEY = 'tasks_use_new_replication'

Methods

__construct()

public __construct([int $userId = 0 ]) : mixed
Parameters
$userId : int = 0

getAgentName()

public static getAgentName(int $templateId) : string
Parameters
$templateId : int
Return values
string

isEnabled()

public abstract static isEnabled() : bool
Return values
bool

replicate()

public replicate(int $templateId[, bool $force = false ]) : string
Parameters
$templateId : int
$force : bool = false
Return values
string

        
On this page

Search results