Solar_Filter_ValidateNotEquals::validateNotEquals()

public bool Solar_Filter_ValidateNotEquals::validateNotEquals ( mixed $value , string $other_key )

Validates that this value is not equal to some other element in the filter chain (note that equality is not strict, so type does not matter).

Parameters

  • (mixed) $value: The value to validate.

  • (string) $other_key: Check against the value of this element in $this->_data.

Returns

  • (bool) True if the values are not equal, false if equal.

Description

Validates that this value is not equal to some other element in the filter chain (note that equality is not strict, so type does not matter).

If the other element does not exist in $this->_data, the validation will fail.



Local