Module: Hyrax::CitationsBehavior

Constant Summary

Constants included from Hyrax::CitationsBehaviors::TitleBehavior

Hyrax::CitationsBehaviors::TitleBehavior::EXPANDED_NOCAPS, Hyrax::CitationsBehaviors::TitleBehavior::TITLE_NOCAPS

Instance Method Summary collapse

Methods included from Hyrax::CitationsBehaviors::TitleBehavior

#chicago_citation_title, #mla_citation_title, #process_title_parts, #setup_title_info

Methods included from Hyrax::CitationsBehaviors::CommonBehavior

#clean_end_punctuation, #persistent_url

Methods included from Hyrax::CitationsBehaviors::NameBehavior

#abbreviate_name, #all_authors, #author_list, #given_name_first, #surname_first

Methods included from Hyrax::CitationsBehaviors::PublicationBehavior

#setup_pub_date, #setup_pub_info, #setup_pub_place, #setup_pub_publisher

Instance Method Details

#export_as_apa_citation(work) ⇒ Object



10
11
12
# File 'app/helpers/hyrax/citations_behavior.rb', line 10

def export_as_apa_citation(work)
  Hyrax::CitationsBehaviors::Formatters::ApaFormatter.new(self).format(work)
end

#export_as_chicago_citation(work) ⇒ Object



14
15
16
# File 'app/helpers/hyrax/citations_behavior.rb', line 14

def export_as_chicago_citation(work)
  Hyrax::CitationsBehaviors::Formatters::ChicagoFormatter.new(self).format(work)
end

#export_as_mla_citation(work) ⇒ Object



18
19
20
# File 'app/helpers/hyrax/citations_behavior.rb', line 18

def export_as_mla_citation(work)
  Hyrax::CitationsBehaviors::Formatters::MlaFormatter.new(self).format(work)
end

#export_as_openurl_ctx_kev(work) ⇒ Object

MIME type: ‘application/x-openurl-ctx-kev’



23
24
25
# File 'app/helpers/hyrax/citations_behavior.rb', line 23

def export_as_openurl_ctx_kev(work)
  Hyrax::CitationsBehaviors::Formatters::OpenUrlFormatter.new(self).format(work)
end