Class: ODDB::View::Admin::DeductiblePackageComposite

Inherits:
RootPackageComposite show all
Defined in:
src/view/admin/package.rb

Constant Summary

COMPONENTS =
{
  [0,0] =>  :package_name,
  [0,1] =>  View::Admin::DeductiblePackageForm,
  [0,2] =>  'th_source',
  [0,3] =>  :source,
}
CSS_MAP =
{
  [0,0] =>  'th',
  [0,2] =>  'subheading',
}

Constants inherited from RootPackageComposite

COMPONENTS, CSS_MAP, LEGACY_INTERFACE

Constants included from FormMethods

ACCEPT_CHARSET, DEFAULT_CLASS, EVENT

Constants inherited from PackageComposite

COMPONENTS, CSS_CLASS, CSS_MAP

Instance Method Summary (collapse)

Methods inherited from RootPackageComposite

#init, #parts, #parts_form

Methods included from FormMethods

#delete_item, #delete_item_warn, #get_event_button, #post_event_button

Methods inherited from PackageComposite

#package_name

Methods included from SwissmedicSource

#format_source, #package_source, #registration_source, #sequence_source

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

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



356
357
358
# File 'src/view/admin/package.rb', line 356

def source(model, session=@session)
  HtmlGrid::Value.new(:source, model.sequence, @session, self)
end