/webtrees/tests/feature/ |
H A D | Privacy.php | 120 … self::assertTrue($queen_elizabeth->canShow(), 'admin can see living individual with RESN=none'); 121 self::assertTrue($prince_charles->canShow(), 'admin can see living individual'); 124 … self::assertTrue($queen_elizabeth->canShow(), 'manager can see living individual with RESN=none'); 125 self::assertTrue($prince_charles->canShow(), 'manager can see living individual'); 128 …self::assertTrue($queen_elizabeth->canShow(), 'moderator can see living individual with RESN=none'… 129 self::assertTrue($prince_charles->canShow(), 'moderator can see living individual'); 132 … self::assertTrue($queen_elizabeth->canShow(), 'editor can see living individual with RESN=none'); 133 self::assertTrue($prince_charles->canShow(), 'editor can see living individual'); 136 … self::assertTrue($queen_elizabeth->canShow(), 'member can see living individual with RESN=none'); 137 self::assertTrue($prince_charles->canShow(), 'member can see living individual'); [all …]
|
/webtrees/app/ |
H A D | Auth.php | 238 if ($family->canShow()) { 267 if ($header->canShow()) { 301 if ($individual->canShow()) { 330 if ($location->canShow()) { 359 if ($media->canShow()) { 388 if ($note->canShow()) { 417 if ($shared_note->canShow()) { 446 if ($record->canShow()) { 475 if ($repository->canShow()) { 504 if ($source->canShow()) { [all …]
|
H A D | GedcomRecord.php | 120 return static fn (GedcomRecord $record): bool => $record->canShow(); 243 public function canShow(int|null $access_level = null): bool function in Fisharebest\\Webtrees\\GedcomRecord 267 return $this->canShow($access_level); 300 if (!$this->canShow($access_level)) { 329 if ($record === null || !$record->canShow($access_level)) { 628 if ($this->canShow($access_level)) { 630 … if (($filter === [] || in_array($fact->tag(), $filter, true)) && $fact->canShow($access_level)) {
|
H A D | Individual.php | 85 … $this->tree->getPreference('SHOW_LIVING_NAMES') >= $access_level || $this->canShow($access_level); 677 if ($family instanceof Family && $family->canShow($access_level)) { 744 if ($family instanceof Family && $family->canShow($access_level)) {
|
H A D | Fact.php | 314 public function canShow(int|null $access_level = null): bool function in Fisharebest\\Webtrees\\Fact 338 return $target->canShow($access_level);
|
H A D | Source.php | 46 if ($repo instanceof Repository && !$repo->canShow($access_level)) {
|
H A D | Note.php | 74 if ($linked_record instanceof GedcomRecord && !$linked_record->canShow($access_level)) {
|
H A D | Media.php | 55 if ($linked_record instanceof GedcomRecord && !$linked_record->canShow($access_level)) {
|
/webtrees/resources/views/ |
H A D | chart-box.phtml | 37 if ($spouse && $spouse->canShow()) { 41 if ($child->canShow()) { 101 …<?php if ($individual->canShow() && $individual->tree()->getPreference('SHOW_HIGHLIGHT_IMAGES')) :… 107 <?php if ($individual->canShow()) : ?> 141 <?php if ($individual->canShow()) : ?>
|
H A D | fact-gedcom-fields.phtml | 41 if ($record instanceof GedcomRecord && !$record->canShow()) {
|
/webtrees/app/Statistics/Repository/ |
H A D | FamilyRepository.php | 94 if (!$family->canShow()) { 378 …ily !== null && $child1 !== null && $child2 !== null && $child1->canShow() && $child2->canShow()) { 415 …ily !== null && $child1 !== null && $child2 !== null && $child1->canShow() && $child2->canShow()) { 425 …ily !== null && $child1 !== null && $child2 !== null && $child1->canShow() && $child2->canShow()) { 473 …ily !== null && $child1 !== null && $child2 !== null && $child1->canShow() && $child2->canShow()) { 849 if ($person !== null && $person->canShow()) { 1125 if ($family->canShow()) { 1497 if ($family !== null && $family->canShow()) {
|
/webtrees/app/Module/ |
H A D | DescendancyModule.php | 116 if ($individual !== null && $individual->canShow()) { 161 $lifespan = $person->canShow() ? '(' . $person->lifespan() . ')' : ''; 228 if ($individual->canShow()) { 251 if ($family->canShow()) {
|
H A D | ClippingsCartModule.php | 264 if ($object instanceof GedcomRecord && $object->canShow($access_level)) { 837 if ($location instanceof Location && $location->canShow()) { 867 if ($media instanceof Media && $media->canShow()) { 895 if ($note instanceof Note && $note->canShow()) { 926 if ($source instanceof Source && $source->canShow()) { 956 if ($repository instanceof Repository && $repository->canShow()) { 985 if ($submitter instanceof Submitter && $submitter->canShow()) {
|
H A D | TimelineChartModule.php | 179 …Individual|null $individual): bool => $individual instanceof Individual && $individual->canShow()); 237 …Individual|null $individual): bool => $individual instanceof Individual && $individual->canShow());
|
H A D | LifespansChartModule.php | 200 return $individual !== null && $individual->canShow(); 248 …Individual|null $individual): bool => $individual instanceof Individual && $individual->canShow());
|
H A D | NotesTabModule.php | 132 if ($family->canShow()) {
|
H A D | SourcesTabModule.php | 130 if ($family->canShow()) {
|
H A D | MediaTabModule.php | 131 if ($family->canShow()) {
|
H A D | TopPageViewsModule.php | 87 if ($record instanceof GedcomRecord && $record->canShow()) {
|
/webtrees/resources/views/modules/family_nav/ |
H A D | sidebar-family.phtml | 21 <?php if ($family->canShow()) : ?> 64 <?php if ($spouse->canShow()) : ?> 125 <?php if ($child->canShow()) : ?>
|
/webtrees/app/Http/RequestHandlers/ |
H A D | SearchQuickAction.php | 53 if ($record instanceof GedcomRecord && $record->canShow()) {
|
H A D | MediaFileThumbnail.php | 57 if (!$media->canShow()) {
|
H A D | DeleteRecord.php | 70 if (Auth::isEditor($record->tree()) && $record->canShow() && $record->canEdit()) {
|
/webtrees/resources/views/modules/notes/ |
H A D | tab.phtml | 63 <?php if ($note->canShow()) : ?>
|
/webtrees/app/Statistics/Google/ |
H A D | ChartFamilyLargest.php | 98 if ($family instanceof Family && $family->canShow()) {
|