OpportunityField
extends Base
Table of Contents
Methods
-
__construct()
: mixed
-
addSeed()
: void
-
resolve()
: Result
-
resolveByValue()
: bool
-
setTarget()
: void
__construct()
public
__construct(string $fieldId[, int $entityTypeId = CCrmOwnerType::Undefined ]) : mixed
Parameters
-
$fieldId
: string
-
-
$entityTypeId
: int
= CCrmOwnerType::Undefined
-
addSeed()
public
addSeed(int $seedId, array<string|int, mixed> $seed) : void
Parameters
-
$seedId
: int
-
-
$seed
: array<string|int, mixed>
-
resolve()
public
resolve() : Result
resolveByValue()
public
resolveByValue(mixed &$seedOpportunity, mixed &$targetOpportunity) : bool
Parameters
-
$seedOpportunity
: mixed
-
-
$targetOpportunity
: mixed
-
-
throws
-
ArgumentNullException
-
throws
-
NotSupportedException
setTarget()
public
setTarget(array<string|int, mixed> $target) : void
Parameters
-
$target
: array<string|int, mixed>
-