Home
last modified time | relevance | path

Searched refs:patterns (Results 1 – 3 of 3) sorted by relevance

/webtrees/app/
H A DRelationship.php106 public function match(array $nodes, array $patterns): array|null argument
111 if (!$matcher($nodes, $patterns, $captures)) {
116 if ($patterns === []) {
164 … $this->matchers[] = static function (array &$nodes, array &$patterns) use ($relationships): bool {
165 if (in_array($patterns[0] ?? '', $relationships, true)) {
167 $patterns = array_slice($patterns, 1);
205 …$this->matchers[] = static function (array &$nodes, array &$patterns, array &$captures) use ($rela…
206 $limit = min(intdiv(count($nodes), 2), count($patterns));
209 if (!in_array($patterns[$generations], $relationships, true)) {
216 $patterns = array_slice($patterns, $generations);
[all …]
H A DGedcomRecord.php315 $patterns = [
322 foreach ($patterns as $pattern) {
/webtrees/app/Module/
H A DClippingsCartModule.php268 $patterns = [
275 foreach ($patterns as $pattern) {