Lines Matching refs:data
150 $data = DB::table('gedcom_chunk')
157 if ($data === null) {
164 ->where('gedcom_chunk_id', '=', $data->gedcom_chunk_id)
175 if (str_starts_with($data->chunk_data, UTF8::BYTE_ORDER_MARK)) {
176 … $data->chunk_data = substr($data->chunk_data, strlen(UTF8::BYTE_ORDER_MARK));
178 ->where('gedcom_chunk_id', '=', $data->gedcom_chunk_id)
179 ->update(['chunk_data' => $data->chunk_data]);
182 if (!str_starts_with($data->chunk_data, '0 HEAD')) {
192 $data->chunk_data = str_replace("\r", "\n", $data->chunk_data);
195 foreach (preg_split('/\n+(?=0)/', $data->chunk_data) as $rec) {
205 ->where('gedcom_chunk_id', '=', $data->gedcom_chunk_id)