Lines Matching refs:i
135 for ($i = 0; $i < $count; $i++) {
136 $hierarchy[$levels[$i]] = $tags[$i];
138 $full_tag = implode(':', array_slice($hierarchy, 0, 1 + (int) $levels[$i]));
140 $values[$i] = $element->canonical($values[$i]);
143 if ($levels[$i] === '1' && $values[$i] === 'Y') {
144 for ($j = $i + 1; $j < $count && $levels[$j] > $levels[$i]; ++$j) {
146 $values[$i] = '';
154 for ($j = $i + 1; $j < $count && $levels[$j] > $levels[$i]; $j++) {
160 … if ($values[$i] !== '' || $children_with_values && !$element instanceof AbstractXrefElement) {
161 if ($values[$i] === '') {
162 $gedcom_lines[] = $levels[$i] . ' ' . $tags[$i];
165 if ($tags[$i] === 'CONC') {
166 $next_level = (int) $levels[$i];
168 $next_level = 1 + (int) $levels[$i];
171 …$gedcom_lines[] = $levels[$i] . ' ' . $tags[$i] . ' ' . str_replace("\n", "\n" . $next_level . ' C…
174 $i = $j - 1;