CCrmExternalChannelConnector
Table of Contents
Constants
-
Prefix
= 'options_'
-
Suffix
= 'ext_channel.'
Properties
-
$channel_id
: mixed
-
$server
: mixed
Methods
-
checkFields()
: mixed
-
getByOriginalId()
: array<string|int, mixed>|false
-
getChannel()
: array<string|int, mixed>|false
-
getChannelId()
: string
-
getFieldsInfo()
: array<string|int, mixed>|null
-
getList()
: Result
-
getOption()
: array<string|int, mixed>|null
-
getOriginatorId()
: null|array<string|int, mixed>
-
getServer()
: null
-
getTypeId()
: array<string|int, mixed>
-
isRegistered()
: bool
-
prepareFields()
: mixed
-
register()
: string
-
setChannelId()
: mixed
-
setServer()
: mixed
-
unregister()
: mixed
Prefix
public
mixed
Prefix
= 'options_'
Suffix
public
mixed
Suffix
= 'ext_channel.'
$channel_id
public
mixed
$channel_id
= null
$server
public
mixed
$server
= null
checkFields()
public
checkFields(mixed &$fields, mixed &$errors) : mixed
Parameters
-
$fields
: mixed
-
-
$errors
: mixed
-
getByOriginalId()
public
getByOriginalId(string $originatorId) : array<string|int, mixed>|false
Parameters
-
$originatorId
: string
-
Return values
array<string|int, mixed>|false
getChannel()
public
getChannel() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|false
getChannelId()
public
getChannelId() : string
getFieldsInfo()
public
static getFieldsInfo() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getList()
public
getList(array<string|int, mixed> $params) : Result
Parameters
-
$params
: array<string|int, mixed>
-
-
throws
-
ArgumentException
getOption()
public
getOption(mixed $params) : array<string|int, mixed>|null
Parameters
-
$params
: mixed
-
Return values
array<string|int, mixed>|null
getOriginatorId()
public
getOriginatorId() : null|array<string|int, mixed>
Return values
null|array<string|int, mixed>
getServer()
public
getServer() : null
getTypeId()
public
getTypeId() : array<string|int, mixed>
Return values
array<string|int, mixed>
isRegistered()
public
isRegistered() : bool
prepareFields()
public
prepareFields(mixed &$fields) : mixed
Parameters
-
$fields
: mixed
-
register()
public
static register(string $typeId, string $originatorId, array<string|int, mixed> $fields) : string
Parameters
-
$typeId
: string
-
-
$originatorId
: string
-
-
$fields
: array<string|int, mixed>
-
-
throws
-
ArgumentException
-
throws
-
ArgumentOutOfRangeException
setChannelId()
public
setChannelId(mixed $channel_id) : mixed
Parameters
-
$channel_id
: mixed
-
setServer()
public
setServer(CRestServer $server) : mixed
Parameters
-
$server
: CRestServer
-
unregister()
public
static unregister(string $typeId, string $originatorId) : mixed
Parameters
-
$typeId
: string
-
-
$originatorId
: string
-
-
throws
-
ArgumentException
-
throws
-
ArgumentOutOfRangeException
-
throws
-
Exception