Lines Matching refs:path
82 $path = $this->getCloseRelationship($individual1, $individual2);
85 if ($path === []) {
89 return $this->nameFromPath($path, $language);
123 foreach ($paths as $i => $path) {
125 $indi = $path[count($path) - 1];
132 $new_path = $path;
145 $new_path = $path;
163 $new_path = $path;
176 $new_path = $path;
318 * @param string $path
326 …public function legacyNameAlgorithm(string $path, Individual|null $person1 = null, Individual|null… argument
335 if (preg_match('/(fat|hus|son|bro)$/', $path) === 1) {
337 } elseif (preg_match('/(mot|wif|dau|sis)$/', $path) === 1) {
343 switch ($path) {
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) {
1312 $bef_last = substr($path, -6, 3);
1517 if (preg_match('/^(?:bro|sis|sib)((?:son|dau|chi)+)$/', $path, $match) === 1) {
1520 $first = substr($path, 0, 3);
1810 if (preg_match('/^((?:mot|fat|par)*)$/', $path, $match) === 1) {
1967 if (preg_match('/^((?:son|dau|chi)*)$/', $path, $match) === 1) {
2101 … if (preg_match('/^((?:mot|fat|par)+)(?:bro|sis|sib)((?:son|dau|chi)+)$/', $path, $match) === 1) {
2193 if (array_key_exists($path, $relationshipsCache)) {
2194 return $relationshipsCache[$path];
2198 $path1 = substr($path, 0, 3);
2199 $path2 = substr($path, 3);
2214 $relationshipsCache[$path] = $relationship;