Outcome
extends EO_CallOutcome
Table of Contents
Methods
-
appendProps()
: self
-
fillFromJson()
: self
-
fillProps()
: self
-
getOutcomeForCall()
: self|null
-
getProperty()
: Property|null
-
getProps()
: EO_CallOutcomeProperty_Collection
-
getSenseContent()
: mixed
-
getSenseContentClass()
: string|null
-
saveProps()
: Result|AddResult|UpdateResult
-
setProperty()
: self
-
toArray()
: array<string|int, mixed>
-
toRestFormat()
: array<string|int, mixed>
appendProps()
public
appendProps(Property $property) : self
Parameters
-
$property
: Property
-
fillFromJson()
public
fillFromJson(array<string|int, mixed> $jsonData) : self
Parameters
-
$jsonData
: array<string|int, mixed>
-
fillProps()
public
fillProps(EO_CallOutcomeProperty_Collection $propertyCollection) : self
Parameters
-
$propertyCollection
: EO_CallOutcomeProperty_Collection
-
getOutcomeForCall()
public
static getOutcomeForCall(int $callId, SenseType $senseType) : self|null
Parameters
-
$callId
: int
-
-
$senseType
: SenseType
-
getProperty()
public
getProperty(string $code) : Property|null
Parameters
-
$code
: string
-
getProps()
public
getProps() : EO_CallOutcomeProperty_Collection
Return values
EO_CallOutcomeProperty_Collection
getSenseContent()
public
getSenseContent() : mixed
getSenseContentClass()
public
getSenseContentClass() : string|null
Return values
string|null
saveProps()
public
saveProps() : Result|AddResult|UpdateResult
setProperty()
public
setProperty(string $code, mixed $value) : self
Parameters
-
$code
: string
-
-
$value
: mixed
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
public
toRestFormat() : array<string|int, mixed>
Return values
array<string|int, mixed>