summaryrefslogtreecommitdiffstats
path: root/library/Icinga/Data/Filter/FilterNotEqual.php
blob: 8915a3de07ed7a38346ee025f839ba8a8c0d806b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/* Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */

namespace Icinga\Data\Filter;

class FilterNotEqual extends FilterExpression
{
    public function matches($row)
    {
        return (string) $row->{$this->column} !== (string) $this->expression;
    }
}