Class: ODDB::State::Substances::Substances

Inherits:
Global show all
Includes:
Interval
Defined in:
src/state/admin/root.rb,
src/state/substances/substances.rb

Direct Known Subclasses

EffectiveSubstances

Constant Summary

VIEW =
View::Substances::Substances
DIRECT_EVENT =
:substances
RANGE_PATTERNS =
{
  'a'     =>  'aÅÆÄÁÂÀÃĄǍĂĀȦåæäáâàãąǎăāȧ',
  'b'     =>  'bḂḃ',
  'c'     =>  'cÇĈČĆĊçĉčćċ',
  'd'     =>  'dḐĐÐĎḊḑđðďḋ',
  'e'     =>  'eËÉÊÈȨĘĚĔẼĒĖëéêèȩęěĕẽēė',
  'f'     =>  'fÞḞþḟ',
  'g'     =>  'gĢǦĞǴĜḠĠģǧğǵĝḡġ',
  'h'     =>  'hȞĤḦḨḢȟĥḧḩḣ',
  'i'     =>  'iÏÍÎÌĮǏĬĨİïíîìįǐĭĩı',
  'j'     =>  'jĴĵ',
  'k'     =>  'kǨḰĶǩḱķ',
  'l'     =>  'lŁĹĽĻłĺľļ',
  'm'     =>  'mḾṀḿṁ',
  'n'     =>  'nŇŃÑǸŅṄňńñǹņṅ',
  'o'     =>  'oŒÖÓÔÒÕŌŎØǪǑȮœöóôòõōŏøǫǒȯ',
  'p'     =>  'pṔṖṕṗ',
  'q'     =>  'q',
  'r'     =>  'rŘŔŖṘřŕŗṙ',
  's'     =>  'sŚŜŠŞṠśŝšşṡ',
  't'     =>  'tŤŢṪťţṫ',
  'u'     =>  'uÜÚÛÙŲǗǓǙǛŨŬŮǕüúûùųǘǔǚǜũŭůǖ',
  'v'     =>  'vṼṽ',
  'w'     =>  'wẂŴẀẄẆẃŵẁẅẇ',
  'x'     =>  'xẌẊẍẋ',
  'y'     =>  'yŸẎỸỲŶÝȲÿẏỹỳŷýȳ',
  'z'     =>  'zŽŹẐŻžźẑż',
  '|unknown'=>  '^a-zÅÆÄÁÂÀÃĄǍĂĀȦḂÇĈČĆĊḐĐÐĎḊËÉÊÈȨĘĚĔẼĒĖÞḞĢǦĞǴĜḠĠȞĤḦḨḢÏÍÎÌĮǏĬĨİĴǨḰĶŁĹĽĻḾṀŇŃÑǸŅṄŒÖÓÔÒÕŌŎØǪǑȮṔṖŘŔŖṘŚŜŠŞṠŤŢṪÜÚÛÙŲǗǓǙǛŨŬŮǕṼẂŴẀẄẆẌẊŸẎỸỲŶÝȲŽŹẐŻåæäáâàãąǎăāȧḃçĉčćċḑđðďḋëéêèȩęěĕẽēėþḟģǧğǵĝḡġȟĥḧḩḣïíîìįǐĭĩıĵǩḱķłĺľļḿṁňńñǹņṅœöóôòõōŏøǫǒȯṕṗřŕŗṙśŝšşṡťţṫüúûùųǘǔǚǜũŭůǖṽẃŵẁẅẇẍẋÿẏỹỳŷýȳžźẑż',
}

Constants included from Interval

FILTER_THRESHOLD, PERSISTENT_RANGE, RANGE_PATTERNS

Constants inherited from Global

HOME_STATE, ZONE, ZONE_NAVIGATION

Constants inherited from Global

DIRECT_EVENT, GLOBAL_MAP, HOME_STATE, LIMITED, PRINT_STATES, READONLY_STATES, RESOLVE_STATES, REVERSE_MAP, VIEW, ZONE_NAVIGATION

Constants included from UmlautSort

FILTER_PAIRS

Instance Method Summary (collapse)

Methods included from Interval

#filter_interval, #get_intervals, #interval, #intervals, #range_patterns, #symbol, #user_range

Methods inherited from Global

#_search_drugs, #_search_drugs_state, #_trigger, #add_to_interaction_basket, #allowed?, #atc_chooser, #checkout, #clear_interaction_basket, #creditable?, #direct_request_path, #doctorlist, #download, #export_csv, #extend, #fachinfo, #feedbacks, #help_navigation, #home_navigation, #home_state, #hospitallist, #interaction_basket, #limit_state, #limited?, #logout, #navigation, #notify, #password_reset, #paypal_return, #powerlink, #print, #proceed_download, #proceed_poweruser, #resolve, #resolve_state, #rss, #search, #show, #snapback_event, #sort, #sponsorlink, #suggest_address, #switch, #unique_email, #user_input, #user_navigation, #ywesee_contact, #zone_navigation, #zones

Methods included from Admin::LoginMethods

#autologin, #login

Methods included from UmlautSort

#sort_model, #umlaut_filter

Instance Method Details

- (Object) default_interval



47
48
49
# File 'src/state/substances/substances.rb', line 47

def default_interval
  intervals.first || 'a'
end

- (Object) init



44
45
46
# File 'src/state/substances/substances.rb', line 44

def init
  filter_interval
end