Class: ODDB::View::Admin::Entities

Inherits:
PrivateTemplate show all
Defined in:
src/view/admin/entities.rb

Defined Under Namespace

Classes: Wrapper

Constant Summary

CONTENT =
EntityList

Constants inherited from PrivateTemplate

SEARCH_HEAD

Constants included from Snapback

SNAPBACK_EVENT

Constants inherited from PublicTemplate

COMPONENTS, CONTENT, CSS_CLASS, DOJO_DEBUG, DOJO_ENCODING, DOJO_PARSE_WIDGETS, DOJO_PREFIX, DOJO_REQUIRE, FOOT, HEAD, HTTP_HEADERS, META_TAGS

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from PrivateTemplate

#backtracking, #reorganize_components

Methods included from Snapback

#snapback

Methods inherited from PublicTemplate

#content, #css_link, #dynamic_html_headers, #foot, #head, #javascripts, #title, #title_part_three, #topfoot

Methods included from Custom::HeadMethods

#just_medical, #oekk_head

Class Method Details

+ (Object) wrap_all(entities)



66
67
68
69
70
# File 'src/view/admin/entities.rb', line 66

def Entities.wrap_all(entities)
  entities.collect { |entity|
    Wrapper.new(entity)
  }
end

Instance Method Details

- (Object) init



71
72
73
74
# File 'src/view/admin/entities.rb', line 71

def init
  @model = Entities.wrap_all(@model)
  super
end