PHP Class MetaModels\Filter\Rules\Comparing\GreaterThan

Inheritance: implements MetaModels\Filter\IFilterRule
Datei anzeigen Open project: metamodels/core

Protected Properties

Property Type Description
$blnInclusive boolean Determination if the comparison shall be done inclusive or exclusive.
$objAttribute MetaModels\Attribute\IAttribute The attribute to search in.
$varValue mixed The value to compare with.

Public Methods

Method Description
__construct ( MetaModels\Attribute\IAttribute $objAttribute, mixed $varValue, boolean $blnInclusive = false ) Creates an instance of this class.
getMatchingIds ( ) : string[] | null Fetch the ids for all items that hold a value that is greater than the passed value.

Method Details

__construct() public method

Creates an instance of this class.
public __construct ( MetaModels\Attribute\IAttribute $objAttribute, mixed $varValue, boolean $blnInclusive = false )
$objAttribute MetaModels\Attribute\IAttribute The attribute that shall be searched.
$varValue mixed The value to compare against.
$blnInclusive boolean If true, the passed value will be included in the check and therefore make the check an equal-or-greater test.

getMatchingIds() public method

If no entries have been found, the result is an empty array.
public getMatchingIds ( ) : string[] | null
return string[] | null

Property Details

$blnInclusive protected_oe property

Determination if the comparison shall be done inclusive or exclusive.
protected bool $blnInclusive
return boolean

$objAttribute protected_oe property

The attribute to search in.
protected IAttribute,MetaModels\Attribute $objAttribute
return MetaModels\Attribute\IAttribute

$varValue protected_oe property

The value to compare with.
protected mixed $varValue
return mixed