public function getModifiedData($id)
    {
        $result = [];
        if (isset($this->modified[$id])) {
            foreach (array_keys($this->modified[$id]) as $column) {
                $result[$column] = $this->data[$id][$column];
            }
        }
        return $result;
    }
public function getModifiedData($id)
    {
        $result = [];
        if (isset($this->modified[$id])) {
            foreach (array_keys($this->modified[$id]) as $column) {
                $result[$column] = $this->data[$id][$column];
            }
        }
        return $result;
    }
public function getModifiedData ( $ id ) { $ result = [ ] ; if ( isset ( $ this -> modified [ $ id ] ) ) { foreach ( array_keys ( $ this -> modified [ $ id ] ) as $ column ) { $ result [ $ column ] = $ this -> data [ $ id ] [ $ column ] ; } } return $ result ; }
Returns values of columns of requested row that were modified

@param int $id
@return array
Returns values of columns of requested row that were modified