public function populateArray(array $array)
    {
        foreach ($this->fields as $field_name => $field) {
            if ($field->data) {
                $array[$field_name] = $field->data;
            }
        }

        return $array;
    }