PHP Class MetaModels\Filter\Rules\Comparing\NotEqual

Inheritance: implements MetaModels\Filter\IFilterRule
Mostra file Open project: metamodels/core

Protected Properties

Property Type Description
$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 ) Creates an instance of this class.
getMatchingIds ( ) : string[] | null Fetch the ids for all items that hold a value that is not equal to the passed value.

Method Details

__construct() public method

Creates an instance of this class.
public __construct ( MetaModels\Attribute\IAttribute $objAttribute, mixed $varValue )
$objAttribute MetaModels\Attribute\IAttribute The query that shall be executed.
$varValue mixed The value to compare against.

getMatchingIds() public method

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

Property Details

$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