xref: /webtrees/app/Elements/CountOfChildrenFam.php (revision f934075922fa819544d437a7c258b0c884f11178)
1*f9340759SGreg Roach<?php
2*f9340759SGreg Roach
3*f9340759SGreg Roach/**
4*f9340759SGreg Roach * webtrees: online genealogy
5*f9340759SGreg Roach * Copyright (C) 2022 webtrees development team
6*f9340759SGreg Roach * This program is free software: you can redistribute it and/or modify
7*f9340759SGreg Roach * it under the terms of the GNU General Public License as published by
8*f9340759SGreg Roach * the Free Software Foundation, either version 3 of the License, or
9*f9340759SGreg Roach * (at your option) any later version.
10*f9340759SGreg Roach * This program is distributed in the hope that it will be useful,
11*f9340759SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12*f9340759SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13*f9340759SGreg Roach * GNU General Public License for more details.
14*f9340759SGreg Roach * You should have received a copy of the GNU General Public License
15*f9340759SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
16*f9340759SGreg Roach */
17*f9340759SGreg Roach
18*f9340759SGreg Roachdeclare(strict_types=1);
19*f9340759SGreg Roach
20*f9340759SGreg Roachnamespace Fisharebest\Webtrees\Elements;
21*f9340759SGreg Roach
22*f9340759SGreg Roachuse Fisharebest\Webtrees\Tree;
23*f9340759SGreg Roach
24*f9340759SGreg Roach/**
25*f9340759SGreg Roach * COUNT_OF_CHILDREN := {Size=1:3}
26*f9340759SGreg Roach * The known number of children of this individual from all marriages or, if
27*f9340759SGreg Roach * subordinate to a family record, the reported number of children known to
28*f9340759SGreg Roach * belong to this family, regardless of whether the associated children are
29*f9340759SGreg Roach * represented in the corresponding structure. This is not necessarily the
30*f9340759SGreg Roach * count of children listed in a family structure.
31*f9340759SGreg Roach */
32*f9340759SGreg Roachclass CountOfChildrenFam extends CountOfChildren
33*f9340759SGreg Roach{
34*f9340759SGreg Roach    // FAM:NCHI has no subtags, unlike INDI:NCHI
35*f9340759SGreg Roach    protected const SUBTAGS = [];
36*f9340759SGreg Roach}
37