src/FelixOnline/Base/BaseDB.php
public function getData()
    {
        $data = array();
        foreach ($this->fields as $key => $field) {
            if ($field instanceof Type\ForeignKey) { // foreign key exception
                $data[$key] = $field->getRawValue();
            } else {
                $data[$key] = $field->getValue();
            }
        }

        return $data;
    }
public function getData()
    {
        $data = array();
        foreach ($this->fields as $key => $field) {
            if ($field instanceof Type\ForeignKey) { // foreign key exception
                $data[$key] = $field->getRawValue();
            } else {
                $data[$key] = $field->getValue();
            }
        }

        return $data;
    }
Get data