execute(['tree_id' => $tree->getTreeId()])->fetchAssoc(); $count_families = Database::prepare( "SELECT l_to, COUNT(*) FROM `##families` JOIN `##link` ON l_from = f_id AND l_file = f_file AND l_type = 'SOUR' AND l_file = :tree_id GROUP BY l_to" )->execute(['tree_id' => $tree->getTreeId()])->fetchAssoc(); $count_media = Database::prepare( "SELECT l_to, COUNT(*) FROM `##media` JOIN `##link` ON l_from = m_id AND l_file = m_file AND l_type = 'SOUR' AND l_file = :tree_id GROUP BY l_to" )->execute(['tree_id' => $tree->getTreeId()])->fetchAssoc(); $count_notes = Database::prepare( "SELECT l_to, COUNT(*) FROM `##other` JOIN `##link` ON l_from = o_id AND l_file = o_file AND o_type = 'NOTE' AND l_type = 'SOUR' AND l_file = :tree_id GROUP BY l_to" )->execute(['tree_id' => $tree->getTreeId()])->fetchAssoc(); ?> data-columns=" array_sum($count_individuals) > 0], ['visible' => array_sum($count_families) > 0], ['visible' => array_sum($count_media) > 0], ['visible' => array_sum($count_notes) > 0], ['visible' => (bool) $tree->getPreference('SHOW_LAST_CHANGE'), 'searchable' => false], ])) ?>" >
getFullName() ?> getFirstFact('AUTH') ? $source->getFirstFact('AUTH')->getValue() : '') ?> getXref()] ?? 0) ?> getXref()] ?? 0) ?> getXref()] ?? 0) ?> getXref()] ?? 0) ?> lastChangeTimestamp() ?>