Lines Matching refs:source
678 foreach ($this->linked_record_service->linkedSources($repository) as $source) {
679 $this->addSourceToCart($source);
689 $source = Registry::sourceFactory()->make($xref, $tree);
690 $source = Auth::checkSourceAccess($source);
691 $name = $source->fullName();
702 'record' => $source,
714 $source = Registry::sourceFactory()->make($xref, $tree);
715 $source = Auth::checkSourceAccess($source);
717 $this->addSourceToCart($source);
720 foreach ($this->linked_record_service->linkedIndividuals($source) as $individual) {
723 foreach ($this->linked_record_service->linkedFamilies($source) as $family) {
728 return redirect($source->url());
901 protected function addSourceToCart(Source $source): void argument
906 $tree = $source->tree()->name();
907 $xref = $source->xref();
914 $this->addNoteLinksToCart($source);
915 $this->addRepositoryLinksToCart($source);
924 $source = Registry::sourceFactory()->make($xref, $record->tree());
926 if ($source instanceof Source && $source->canShow()) {
927 $this->addSourceToCart($source);