ComparisonProperty
in package
Model of a component's Client-side rule's comparison property in the trie.
Table of Contents
Properties
- $COMPARISON_TYPE_VERSION : mixed
- $cVDT : mixed
- $o : mixed
- $pN : mixed
- $v : mixed
Methods
- __construct() : mixed
- compare() : bool
- Compare the property from the Client-side string against the property defined in the Client-side rule.
- getOperator() : mixed
- getPropertyName() : mixed
- getValue() : mixed
- isVersionComparisonType() : mixed
- compareAsVersion() : mixed
- endsWith() : mixed
- getPropertyAsVersion() : mixed
- getValueAsVersion() : mixed
Properties
$COMPARISON_TYPE_VERSION
private
static mixed
$COMPARISON_TYPE_VERSION
= 'v'
$cVDT
private
mixed
$cVDT
$o
private
mixed
$o
$pN
private
mixed
$pN
$v
private
mixed
$v
Methods
__construct()
public
__construct(mixed $propertyName, mixed $value, mixed $operator, mixed $comparisonValueDataType) : mixed
Parameters
- $propertyName : mixed
- $value : mixed
- $operator : mixed
- $comparisonValueDataType : mixed
compare()
Compare the property from the Client-side string against the property defined in the Client-side rule.
public
compare(Property $property) : bool
Parameters
- $property : Property
Return values
boolgetOperator()
public
getOperator() : mixed
getPropertyName()
public
getPropertyName() : mixed
getValue()
public
getValue() : mixed
isVersionComparisonType()
public
static isVersionComparisonType(mixed $comparisonValueDataType) : mixed
Parameters
- $comparisonValueDataType : mixed
compareAsVersion()
private
compareAsVersion(Property $property) : mixed
Parameters
- $property : Property
endsWith()
private
static endsWith(mixed $haystack, mixed $needle) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
getPropertyAsVersion()
private
static getPropertyAsVersion(mixed $property) : mixed
Parameters
- $property : mixed
getValueAsVersion()
private
getValueAsVersion() : mixed