execute(['tree_id' => $tree->id()])->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 = 'NOTE' AND l_file = :tree_id GROUP BY l_to" )->execute(['tree_id' => $tree->id()])->fetchAssoc(); $count_sources = Database::prepare( "SELECT l_to, COUNT(*) FROM `##sources` JOIN `##link` ON l_from = s_id AND l_file = s_file AND l_type = 'NOTE' AND l_file = :tree_id GROUP BY l_to" )->execute(['tree_id' => $tree->id()])->fetchAssoc(); ?>
mediaFiles() as $media_file) : ?> displayImage(100, 100, 'contain', []) ?> getFullName() ?> xref()] ?? 0) ?> xref()] ?? 0) ?> xref()] ?? 0) ?> lastChangeTimestamp() ?>