Class: ODDB::View::Drugs::RecentRegsComposite

Inherits:
ResultComposite show all
Defined in:
src/view/drugs/recentregs.rb

Constant Summary

COMPONENTS =
{
  [0,1]   => 'price_compare',
  [1,1]   => SelectSearchForm,
}
DEFAULT_LISTCLASS =
View::Drugs::RecentRegsList
ROOT_LISTCLASS =
View::Drugs::RootRecentRegsList

Constants inherited from ResultComposite

COLSPAN_MAP, COMPONENTS, CSS_CLASS, CSS_MAP, DEFAULT_LISTCLASS, EVENT, FORM_METHOD, ROOT_LISTCLASS, SYMBOL_MAP

Constants included from ResultFootBuilder

EXPLAIN_RESULT

Instance Method Summary (collapse)

Methods inherited from ResultComposite

#dsp_sort, #explain_colors, #init, #title_found

Methods included from ResultFootBuilder

#result_foot

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details



101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'src/view/drugs/recentregs.rb', line 101

def breadcrumbs(model, session=@session)
  dv = HtmlGrid::Span.new(model, @session, self)
  dv.css_class = "breadcrumb"
  dv.value = "<"
  span1 = HtmlGrid::Span.new(model, @session, self)
  span1.css_class = "breadcrumb-2 bold"
  link1 = HtmlGrid::Link.new(:back_to_home, model, @session, self)
  link1.href = @lookandfeel._event_url(:home)
  link1.css_class = "list"
  span1.value = link1
  span2 = HtmlGrid::Span.new(model, @session, self)
  span2.css_class = "breadcrumb-1"
  span2.value = @lookandfeel.lookup(:recent_registrations)
  [span1, dv, span2]
end

- (Object) export_csv(model, session = @session)



116
117
# File 'src/view/drugs/recentregs.rb', line 116

def export_csv(model, session=@session)
end