Documentation

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

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
bool

isVersionComparisonType()

public static isVersionComparisonType(mixed $comparisonValueDataType) : mixed
Parameters
$comparisonValueDataType : mixed

endsWith()

private static endsWith(mixed $haystack, mixed $needle) : mixed
Parameters
$haystack : mixed
$needle : mixed

getPropertyAsVersion()

private static getPropertyAsVersion(mixed $property) : mixed
Parameters
$property : mixed

        
On this page

Search results