mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-16 14:36:26 +02:00
1686c83826
Fixes #4514
17 lines
460 B
PHP
Executable File
17 lines
460 B
PHP
Executable File
<?php
|
|
/**
|
|
* Matches on rows where the field is not equal to the given value.
|
|
*
|
|
* @deprecated 3.1 Use ExactMatchFilter:not instead
|
|
* @package framework
|
|
* @subpackage search
|
|
*/
|
|
class NegationFilter extends ExactMatchFilter {
|
|
function __construct($fullName, $value = false, array $modifiers = array()) {
|
|
Deprecation::notice('4.0', 'Use ExactMatchFilter:not instead.');
|
|
$modifiers[] = 'not';
|
|
parent::__construct($fullName, $value, $modifiers);
|
|
}
|
|
}
|
|
|