protected function sanitiseRow($table, $row)
    {
        $data = [];

        foreach ($this->keys[$table] as $key) {
            $data[$key] = isset($row[$key]) ? $row[$key] : null;
        }

        return $data;
    }
protected function sanitiseRow($table, $row)
    {
        $data = [];

        foreach ($this->keys[$table] as $key) {
            $data[$key] = isset($row[$key]) ? $row[$key] : null;
        }

        return $data;
    }
protected function sanitiseRow ( $ table , $ row ) { $ data = [ ] ; foreach ( $ this -> keys [ $ table ] as $ key ) { $ data [ $ key ] = isset ( $ row [ $ key ] ) ? $ row [ $ key ] : null ; } return $ data ; }
Sanitises a row

@param   string $table The name of the table
@param   array  $row   The data row

@return  array  The sanitised row
Sanitises a row