Class: ODDB::View::Hospitals::CenteredSearchComposite

Inherits:
CenteredSearchComposite show all
Defined in:
src/view/hospitals/centeredsearchform.rb

Constant Summary

COMPONENTS =
{ 
  [0,0]   => :language_chooser,
  [0,1]   => View::CenteredSearchForm,
  [0,2]   => 'hospitals_search_explain', 
  [0,3]   => View::CenteredNavigation,
  [0,5,0] =>  :hospitals_count,
  [0,5,1] =>  'hospital_count_text',
  [0,5,2] =>  'comma_separator',
  [0,5,6] =>  'database_last_updated_txt',
  [0,5,7] =>  :database_last_updated,
  [0,6]   => :legal_note,
  [0,7]   => :paypal,
}
CSS_MAP =
{
  [0,0,1,8]   => 'list center',
}
COMPONENT_CSS_MAP =
{ }

Constants inherited from CenteredSearchComposite

COMPONENTS, COMPONENT_CSS_MAP, CSS_CLASS, CSS_MAP, HTML_ATTRIBUTES, SYMBOL_MAP

Instance Method Summary (collapse)

Methods inherited from CenteredSearchComposite

#atc_chooser, #atc_ddd_size, #beta, #database_last_updated, #database_size, #ddd_count_text, #divider, #download_ebook, #download_export, #download_generics, #export_divider, #fachinfo_size, #fipi_offer, #interactions, #limitation_size, #mailinglist, #narcotics_size, #new_feature, #patinfo_size, #paypal, #plugin, #recent_registrations, #vaccines_size

Methods included from UserSettings

#language_chooser, #language_chooser_short

Methods included from ExternalLinks

#contact_link, #data_declaration, #external_link, #faq_link, #generic_definition, #help_link, #legal_note, #meddrugs_update, #wiki_link

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) hospitals_count(model, session)



27
28
29
# File 'src/view/hospitals/centeredsearchform.rb', line 27

def hospitals_count(model, session)
  @session.hospital_count.to_s << '&nbsp;'
end