Lines Matching refs:data
93 [, $level, $xref, $tag, $data] = $match;
100 if (str_contains($data, '(')) {
101 [$date, $text] = explode('(', $data, 2);
104 $date = $data;
139 $data = $date . $text;
146 $data = '';
151 $data = preg_replace('/ +/', ' ', trim($data));
155 $data = preg_replace('/ *[,,،] */u', ', ', $data);
157 … (preg_match('/(.*), (\d\d)(\d\d)(\d\d)([NS])(\d\d\d)(\d\d)(\d\d)([EW])$/', $data, $match) === 1) {
164 $data =
172 $data = strtoupper($data);
176 if ($data === 'y') {
177 $data = 'Y';
179 if ($level === '1' && $data === 'Y') {
182 $data = '';
191 $data = strtr($data, ["\t" => ' ']);
192 $data = trim($data, ' ');
193 while (str_contains($data, ' ')) {
194 $data = strtr($data, [' ' => ' ']);
196 …vel === '0' && $xref ? $xref . ' ' : '') . $tag . ($data === '' && $tag !== 'NOTE' ? '' : ' ' . $d…
202 …vel === '0' && $xref ? $xref . ' ' : '') . $tag . ($data === '' && $tag !== 'NOTE' ? '' : ' ' . $d…
207 if ($GEDCOM_MEDIA_PATH !== '' && str_starts_with($data, $GEDCOM_MEDIA_PATH)) {
208 $data = substr($data, strlen($GEDCOM_MEDIA_PATH));
211 $data = preg_replace("/\\\\/", '/', $data);
213 …vel === '0' && $xref ? $xref . ' ' : '') . $tag . ($data === '' && $tag !== 'NOTE' ? '' : ' ' . $d…
217 $newrec .= ($tree->getPreference('WORD_WRAPPED_NOTES') ? ' ' : '') . $data;