public function add_fields($fields_to_add) { foreach ($fields_to_add as $field_to_add) { $this->fields[] = $field_to_add; } }