Home
last modified time | relevance | path

Searched refs:canShow (Results 1 – 25 of 44) sorted by relevance

12

/webtrees/tests/feature/
H A DPrivacy.php120 … 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 DAuth.php238 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 DGedcomRecord.php120 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 DIndividual.php85 … $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 DFact.php314 public function canShow(int|null $access_level = null): bool function in Fisharebest\\Webtrees\\Fact
338 return $target->canShow($access_level);
H A DSource.php46 if ($repo instanceof Repository && !$repo->canShow($access_level)) {
H A DNote.php74 if ($linked_record instanceof GedcomRecord && !$linked_record->canShow($access_level)) {
H A DMedia.php55 if ($linked_record instanceof GedcomRecord && !$linked_record->canShow($access_level)) {
/webtrees/resources/views/
H A Dchart-box.phtml37 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 Dfact-gedcom-fields.phtml41 if ($record instanceof GedcomRecord && !$record->canShow()) {
/webtrees/app/Statistics/Repository/
H A DFamilyRepository.php94 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 DDescendancyModule.php116 if ($individual !== null && $individual->canShow()) {
161 $lifespan = $person->canShow() ? '(' . $person->lifespan() . ')' : '';
228 if ($individual->canShow()) {
251 if ($family->canShow()) {
H A DClippingsCartModule.php264 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 DTimelineChartModule.php179 …Individual|null $individual): bool => $individual instanceof Individual && $individual->canShow());
237 …Individual|null $individual): bool => $individual instanceof Individual && $individual->canShow());
H A DLifespansChartModule.php200 return $individual !== null && $individual->canShow();
248 …Individual|null $individual): bool => $individual instanceof Individual && $individual->canShow());
H A DNotesTabModule.php132 if ($family->canShow()) {
H A DSourcesTabModule.php130 if ($family->canShow()) {
H A DMediaTabModule.php131 if ($family->canShow()) {
H A DTopPageViewsModule.php87 if ($record instanceof GedcomRecord && $record->canShow()) {
/webtrees/resources/views/modules/family_nav/
H A Dsidebar-family.phtml21 <?php if ($family->canShow()) : ?>
64 <?php if ($spouse->canShow()) : ?>
125 <?php if ($child->canShow()) : ?>
/webtrees/app/Http/RequestHandlers/
H A DSearchQuickAction.php53 if ($record instanceof GedcomRecord && $record->canShow()) {
H A DMediaFileThumbnail.php57 if (!$media->canShow()) {
H A DDeleteRecord.php70 if (Auth::isEditor($record->tree()) && $record->canShow() && $record->canEdit()) {
/webtrees/resources/views/modules/notes/
H A Dtab.phtml63 <?php if ($note->canShow()) : ?>
/webtrees/app/Statistics/Google/
H A DChartFamilyLargest.php98 if ($family instanceof Family && $family->canShow()) {

12