Lines Matching full:if

15  * along with this program. If not, see <https://www.gnu.org/licenses/>.
85 if ($path === []) {
105 if ($individual1 === $individual2) {
131 if (!isset($visited[$spouse->xref()])) {
135 if ($spouse === $individual2) {
144 if (!isset($visited[$child->xref()])) {
148 if ($child === $individual2) {
162 if (!isset($visited[$spouse->xref()])) {
166 if ($spouse === $individual2) {
175 if (!isset($visited[$child->xref()])) {
179 if ($child === $individual2) {
204 if (count($nodes) === 1) {
217 if ($relationships === []) {
299 if ($result !== null) {
335 if (preg_match('/(fat|hus|son|bro)$/', $path) === 1) {
354 if ($person1 instanceof Individual && $person2 instanceof Individual) {
357 if ($person2 === $family->spouse($person1)) {
360 if ($event instanceof Fact) {
378 if ($person1 instanceof Individual && $person2 instanceof Individual) {
381 if ($person2 === $family->spouse($person1)) {
384 if ($event instanceof Fact) {
401 if ($person1 instanceof Individual && $person2 instanceof Individual) {
404 if ($person2 === $family->spouse($person1)) {
407 if ($event instanceof Fact) {
431 if ($person1 && $person2) {
434 if ($dob1->isOK() && $dob2->isOK()) {
435if (abs($dob1->julianDay() - $dob2->julianDay()) < 2 && $dob1->minimumDate()->day > 0 && $dob2->mi…
440 if ($dob1->maximumJulianDay() < $dob2->minimumJulianDay()) {
444 if ($dob1->minimumJulianDay() > $dob2->maximumJulianDay()) {
452 if ($person1 && $person2) {
455 if ($dob1->isOK() && $dob2->isOK()) {
456if (abs($dob1->julianDay() - $dob2->julianDay()) < 2 && $dob1->minimumDate()->day > 0 && $dob2->mi…
461 if ($dob1->maximumJulianDay() < $dob2->minimumJulianDay()) {
465 if ($dob1->minimumJulianDay() > $dob2->maximumJulianDay()) {
473 if ($person1 && $person2) {
476 if ($dob1->isOK() && $dob2->isOK()) {
477if (abs($dob1->julianDay() - $dob2->julianDay()) < 2 && $dob1->minimumDate()->day > 0 && $dob2->mi…
482 if ($dob1->maximumJulianDay() < $dob2->minimumJulianDay()) {
486 if ($dob1->minimumJulianDay() > $dob2->maximumJulianDay()) {
660 if ($sex1 === 'M') {
666 if ($sex1 === 'M') {
672 if ($sex1 === 'M') {
678 if ($sex1 === 'M') {
684 if ($sex1 === 'M') {
692 if ($sex1 === 'M') {
698 if ($sex1 === 'M') {
704 if ($sex1 === 'M') {
710 if ($sex1 === 'M') {
980 if ($sex1 === 'M') {
986 if ($sex1 === 'M') {
992 if ($sex1 === 'M') {
998 if ($sex1 === 'M') {
1004 if ($sex1 === 'M') {
1012 if ($sex1 === 'M') {
1024 if ($sex1 === 'M') {
1030 if ($sex1 === 'M') {
1036 if ($sex1 === 'M') {
1200 if (preg_match('/^(mot|fat|par)fatbro(son|dau|chi)dau$/', $path) === 1) {
1204 if (preg_match('/^(mot|fat|par)fatbro(son|dau|chi)son$/', $path) === 1) {
1208 if (preg_match('/^(mot|fat|par)fatbro(son|dau|chi)chi$/', $path) === 1) {
1212 if (preg_match('/^(mot|fat|par)fatsis(son|dau|chi)dau$/', $path) === 1) {
1216 if (preg_match('/^(mot|fat|par)fatsis(son|dau|chi)son$/', $path) === 1) {
1220 if (preg_match('/^(mot|fat|par)fatsis(son|dau|chi)chi$/', $path) === 1) {
1224 if (preg_match('/^(mot|fat|par)fatsib(son|dau|chi)dau$/', $path) === 1) {
1228 if (preg_match('/^(mot|fat|par)fatsib(son|dau|chi)son$/', $path) === 1) {
1232 if (preg_match('/^(mot|fat|par)fatsib(son|dau|chi)chi$/', $path) === 1) {
1236 if (preg_match('/^(mot|fat|par)motbro(son|dau|chi)dau$/', $path) === 1) {
1240 if (preg_match('/^(mot|fat|par)motbro(son|dau|chi)son$/', $path) === 1) {
1244 if (preg_match('/^(mot|fat|par)motbro(son|dau|chi)chi$/', $path) === 1) {
1248 if (preg_match('/^(mot|fat|par)motsis(son|dau|chi)dau$/', $path) === 1) {
1252 if (preg_match('/^(mot|fat|par)motsis(son|dau|chi)son$/', $path) === 1) {
1256 if (preg_match('/^(mot|fat|par)motsis(son|dau|chi)chi$/', $path) === 1) {
1260 if (preg_match('/^(mot|fat|par)motsib(son|dau|chi)dau$/', $path) === 1) {
1264 if (preg_match('/^(mot|fat|par)motsib(son|dau|chi)son$/', $path) === 1) {
1268 if (preg_match('/^(mot|fat|par)motsib(son|dau|chi)chi$/', $path) === 1) {
1272 if (preg_match('/^(mot|fat|par)parbro(son|dau|chi)dau$/', $path) === 1) {
1276 if (preg_match('/^(mot|fat|par)parbro(son|dau|chi)son$/', $path) === 1) {
1280 if (preg_match('/^(mot|fat|par)parbro(son|dau|chi)chi$/', $path) === 1) {
1284 if (preg_match('/^(mot|fat|par)parsis(son|dau|chi)dau$/', $path) === 1) {
1288 if (preg_match('/^(mot|fat|par)parsis(son|dau|chi)son$/', $path) === 1) {
1292 if (preg_match('/^(mot|fat|par)parsis(son|dau|chi)chi$/', $path) === 1) {
1296 if (preg_match('/^(mot|fat|par)parsib(son|dau|chi)dau$/', $path) === 1) {
1300 if (preg_match('/^(mot|fat|par)parsib(son|dau|chi)son$/', $path) === 1) {
1304 if (preg_match('/^(mot|fat|par)parsib(son|dau|chi)chi$/', $path) === 1) {
1309 if (preg_match('/^((?:mot|fat|par)+)(bro|sis|sib)$/', $path, $match) === 1) {
1315 if ($sex2 === 'M') {
1316 if ($bef_last === 'fat') {
1320 if ($bef_last === 'mot') {
1327 if ($sex2 === 'F') {
1334 if ($sex2 === 'M') {
1335 if ($bef_last === 'fat') {
1339 if ($bef_last === 'mot') {
1346 if ($sex2 === 'F') {
1353 if ($sex2 === 'M') {
1354 if ($bef_last === 'fat') {
1358 if ($bef_last === 'mot') {
1365 if ($sex2 === 'F') {
1372 if ($sex2 === 'M') {
1373 if ($bef_last === 'fat') {
1377 if ($bef_last === 'mot') {
1384 if ($sex2 === 'F') {
1391 if ($sex2 === 'M') {
1392 if ($bef_last === 'fat') {
1396 if ($bef_last === 'mot') {
1403 if ($sex2 === 'F') {
1410 if ($sex2 === 'M') {
1411 if ($bef_last === 'fat') {
1415 if ($bef_last === 'mot') {
1422 if ($sex2 === 'F') {
1435 if ($sex2 === 'M') {
1439 if ($sex2 === 'F') {
1446 if ($sex2 === 'M') {
1447 if ($bef_last === 'fat') {
1451 if ($bef_last === 'mot') {
1458 if ($sex2 === 'F') {
1465 if ($sex2 === 'M') {
1466 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1470 if ($sex2 === 'F') {
1477 if ($sex2 === 'M') {
1478 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1482 if ($sex2 === 'F') {
1490 if ($sex2 === 'M') {
1493 if ($sex2 === 'F') {
1504 if ($sex2 === 'M') {
1505 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1509 if ($sex2 === 'F') {
1517 if (preg_match('/^(?:bro|sis|sib)((?:son|dau|chi)+)$/', $path, $match) === 1) {
1523 if ($sex2 === 'M') {
1524 if ($first === 'bro' && $sex1 === 'M') {
1528 if ($first === 'sis' && $sex1 === 'M') {
1535 if ($sex2 === 'F') {
1536 if ($first === 'bro' && $sex1 === 'M') {
1540 if ($first === 'sis' && $sex1 === 'M') {
1547 if ($first === 'bro' && $sex1 === 'M') {
1551 if ($first === 'sis' && $sex1 === 'M') {
1558 if ($sex2 === 'M') {
1559 if ($first === 'bro' && $sex1 === 'M') {
1563 if ($first === 'sis' && $sex1 === 'M') {
1570 if ($sex2 === 'F') {
1571 if ($first === 'bro' && $sex1 === 'M') {
1575 if ($first === 'sis' && $sex1 === 'M') {
1582 if ($first === 'bro' && $sex1 === 'M') {
1586 if ($first === 'sis' && $sex1 === 'M') {
1593 if ($sex2 === 'M') {
1594 if ($first === 'bro' && $sex1 === 'M') {
1598 if ($first === 'sis' && $sex1 === 'M') {
1605 if ($sex2 === 'F') {
1606 if ($first === 'bro' && $sex1 === 'M') {
1610 if ($first === 'sis' && $sex1 === 'M') {
1617 if ($first === 'bro' && $sex1 === 'M') {
1621 if ($first === 'sis' && $sex1 === 'M') {
1628 if ($sex2 === 'M') {
1629 if ($first === 'bro' && $sex1 === 'M') {
1633 if ($first === 'sis' && $sex1 === 'M') {
1640 if ($sex2 === 'F') {
1641 if ($first === 'bro' && $sex1 === 'M') {
1645 if ($first === 'sis' && $sex1 === 'M') {
1652 if ($first === 'bro' && $sex1 === 'M') {
1656 if ($first === 'sis' && $sex1 === 'M') {
1669 if ($sex2 === 'M') {
1670 if ($first === 'bro' && $sex1 === 'M') {
1674 if ($first === 'sis' && $sex1 === 'M') {
1681 if ($sex2 === 'F') {
1682 if ($first === 'bro' && $sex1 === 'M') {
1686 if ($first === 'sis' && $sex1 === 'M') {
1693 if ($first === 'bro' && $sex1 === 'M') {
1697 if ($first === 'sis' && $sex1 === 'M') {
1704 if ($sex2 === 'M') {
1705 if ($first === 'bro' && $sex1 === 'M') {
1709 if ($first === 'sis' && $sex1 === 'M') {
1716 if ($sex2 === 'F') {
1717 if ($first === 'bro' && $sex1 === 'M') {
1721 if ($first === 'sis' && $sex1 === 'M') {
1728 if ($first === 'bro' && $sex1 === 'M') {
1732 if ($first === 'sis' && $sex1 === 'M') {
1740 if ($sex2 === 'M') {
1741 if ($first === 'bro' && $sex1 === 'M') {
1744 if ($first === 'sis' && $sex1 === 'M') {
1750 if ($sex2 === 'F') {
1751 if ($first === 'bro' && $sex1 === 'M') {
1754 if ($first === 'sis' && $sex1 === 'M') {
1760 if ($first === 'bro' && $sex1 === 'M') {
1763 if ($first === 'sis' && $sex1 === 'M') {
1770 if ($sex2 === 'M') {
1774 if ($sex2 === 'F') {
1781 if ($sex2 === 'M') {
1782 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1786 if ($sex2 === 'F') {
1797 if ($sex2 === 'M') {
1798 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1802 if ($sex2 === 'F') {
1810 if (preg_match('/^((?:mot|fat|par)*)$/', $path, $match) === 1) {
1815 if ($sex2 === 'M') {
1819 if ($sex2 === 'F') {
1826 if ($sex2 === 'M') {
1830 if ($sex2 === 'F') {
1837 if ($sex2 === 'M') {
1841 if ($sex2 === 'F') {
1848 if ($sex2 === 'M') {
1852 if ($sex2 === 'F') {
1859 if ($sex2 === 'M') {
1863 if ($sex2 === 'F') {
1870 if ($sex2 === 'M') {
1874 if ($sex2 === 'F') {
1887 if ($sex2 === 'M') {
1891 if ($sex2 === 'F') {
1901 if ($sex2 === 'M') {
1905 if ($sex2 === 'F') {
1913 if ($sex2 === 'M') {
1917 if ($sex2 === 'F') {
1924 if ($sex2 === 'M') {
1928 if ($sex2 === 'F') {
1936 if ($sex2 === 'M') {
1937 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1941 if ($sex2 === 'F') {
1942 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1946 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1952 if ($sex2 === 'M') {
1953 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1957 if ($sex2 === 'F') {
1958 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1962 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
1967 if (preg_match('/^((?:son|dau|chi)*)$/', $path, $match) === 1) {
1972 if ($sex2 === 'M') {
1976 if ($sex2 === 'F') {
1983 if ($sex2 === 'M') {
1987 if ($sex2 === 'F') {
1994 if ($sex2 === 'M') {
1998 if ($sex2 === 'F') {
2005 if ($sex2 === 'M') {
2009 if ($sex2 === 'F') {
2016 if ($sex2 === 'M') {
2020 if ($sex2 === 'F') {
2027 if ($sex2 === 'M') {
2031 if ($sex2 === 'F') {
2046 if ($sex2 === 'M') {
2050 if ($sex2 === 'F') {
2057 if ($sex2 === 'M') {
2061 if ($sex2 === 'F') {
2069 if ($sex2 === 'M') {
2072 if ($sex2 === 'F') {
2086 if ($sex2 === 'M') {
2087 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
2091 if ($sex2 === 'F') {
2092 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
2096 …// I18N: if you need a different number for %s, contact the developers, as a code-change is requir…
2101if (preg_match('/^((?:mot|fat|par)+)(?:bro|sis|sib)((?:son|dau|chi)+)$/', $path, $match) === 1) {
2122 if ($down === $up) {
2126 if ($down < $up) {
2130 if ($sex2 === 'M') {
2134 if ($sex2 === 'F') {
2148 if ($up > $down) {
2157 if ($up > $down) {
2166 if ($up > $down) {
2175 if ($up > $down) {
2193 if (array_key_exists($path, $relationshipsCache)) {
2207 if ($relationship === '' || strlen($tmp) < strlen($relationship)) {
2231 if ($sex === 'M') {
2234 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2237 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2240 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2243 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2246 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2249 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2252 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2255 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2258 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2261 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2264 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2267 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2270 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2273 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2276 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2279 … only need to translate - you do not need to convert. For other languages, if your cousin rules ar…
2284 if ($sex === 'F') {
2371 if ($sex === 'M') {
2394 if ($sex === 'F') {