Class: ODDB::View::Admin::OrphanedFachinfoAssignComposite

Inherits:
HtmlGrid::Composite show all
Includes:
OrphanedLanguages
Defined in:
src/view/admin/orphaned_fachinfo_assign.rb

Constant Summary

COMPONENTS =
{
  [0,1] => :languages,
  [0,2] => View::Admin::OrphanedDelete,
  [0,3] => View::Admin::SearchFieldFachinfo,
  [0,4] => :registrations
}
CSS_MAP =
{
  [0,0] => 'th',
  [0,3] => 'list',
  [0,4] => 'list'
}
CSS_CLASS =
'composite'
DEFAULT_CLASS =
HtmlGrid::Value
DEFAULT_HEAD_CLASS =
'th'

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) languages(model, session)



83
84
85
86
87
88
89
# File 'src/view/admin/orphaned_fachinfo_assign.rb', line 83

def languages(model, session)
  begin 
    super(model.languages, session) 
  rescue StandardError => e
    e.message
  end
end

- (Object) registrations(model, session)



80
81
82
# File 'src/view/admin/orphaned_fachinfo_assign.rb', line 80

def registrations(model, session)
  View::Admin::OrphanedFachinfoRegistrations.new(@model.registrations, session, self)
end