Module: ODDB::View::Admin::OrphanedLanguages

Included in:
OrphanedFachinfoAssignComposite, OrphanedPatinfoAssignComposite, OrphanedPatinfoListInnerComposite
Defined in:
src/view/admin/orphaned_languages.rb

Defined Under Namespace

Classes: OrphanedLanguageFacade

Instance Method Summary (collapse)

Instance Method Details

- (Object) languages(model, session)



50
51
52
53
54
55
56
57
# File 'src/view/admin/orphaned_languages.rb', line 50

def languages(model, session)
  if(model.is_a?(Hash))
    listmodel = model.collect { |lang, document| 
      OrphanedLanguageFacade.new(lang, document)
    }
    OrphanedLanguagesList.new(listmodel, session, self)
  end
end