Class: ODDB::View::Admin::ActiveAddress

Inherits:
SuggestedAddress show all
Defined in:
src/view/admin/address_suggestion.rb

Constant Summary

COMPONENTS =
{
  [0,0] => 'active_address',
  [1,0] => :parent_class,
}
CSS_CLASS =
'component'
CSS_MAP =
{
  [0,0] =>  'subheading',
  [1,0] =>  'subheading bold',
}
YPOS =
1
LEGACY_INTERFACE =
false

Constants inherited from SuggestedAddress

COMPONENTS, CSS_CLASS, CSS_MAP, DEFAULT_CLASS, LEGACY_INTERFACE, SYMBOL_MAP, YPOS

Instance Method Summary (collapse)

Methods inherited from SuggestedAddress

#correct, #fax, #fons, #init, #init_components, #lines, #message, #type

Methods included from ODDB::View::AddressMap

#map, #mapsearch_format

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) parent_class(model)



101
102
103
104
# File 'src/view/admin/address_suggestion.rb', line 101

def parent_class(model)
  parent = model.pointer.parent.resolve(@session)
  @lookandfeel.lookup(parent.class)
end