protected function match($row, $identifier)
    {
        foreach ($identifier as $key => $value) {
            if ($row[$key] != $value) {
                return false;
            }
        }

        return true;
    }
protected function match($row, $identifier)
    {
        foreach ($identifier as $key => $value) {
            if ($row[$key] != $value) {
                return false;
            }
        }

        return true;
    }
protected function match ( $ row , $ identifier ) { foreach ( $ identifier as $ key => $ value ) { if ( $ row [ $ key ] != $ value ) { return false ; } } return true ; }
Checks if a row matches an identifier

@param   array $row        The row to check
@param   array $identifier List of key-value pairs

@return  boolean
Checks if a row matches an identifier