filterLessThan() public method

Filter all values less than the passed value.
public filterLessThan ( mixed $varValue, boolean $blnInclusive = false ) : string[] | null
$varValue mixed The value to use as upper end.
$blnInclusive boolean If true, the passed value will be included, if false, it will be excluded.
return string[] | null The list of item ids of all items matching the condition or null if all match.
Beispiel #1
0
 /**
  * Fetch the ids for all items that hold a value that is less than the passed value.
  *
  * If no entries have been found, the result is an empty array.
  *
  * @return string[]|null
  */
 public function getMatchingIds()
 {
     return $this->objAttribute->filterLessThan($this->varValue, $this->blnInclusive);
 }