Class: ODDB::View::Companies::UnknownCompanyInnerComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/companies/company.rb

Constant Summary

COMPONENTS =
{
  [0,0]   => :contact_header,
  [0,1]   => :contact,
  [0,2]   => :email_header,
  [0,3]   => :contact_email,
  [0,4]   => :address_header,
  [0,5]   => :address,
  [0,6]   => :nbsp,
  [0,7]   => :url_header,
  [0,8]   => :url,
  [1,8]   => :address_email,
}
SYMBOL_MAP =
{
  :address_email  => HtmlGrid::MailLink,
  :address_header =>  HtmlGrid::LabelText,
  :contact_email  => HtmlGrid::MailLink,
  :contact_header =>  HtmlGrid::LabelText,
  :email_header   => HtmlGrid::LabelText,
  :nbsp           => HtmlGrid::Text,
  :phone_label    =>  HtmlGrid::Text,
  :fax_label      => HtmlGrid::Text,
  :url            =>  HtmlGrid::HttpLink,
  :url_header     =>  HtmlGrid::LabelText,
}
CSS_MAP =
{
  [0,0,2,5] =>  'list',
  [0,6,2,3] =>  'list',
}
DEFAULT_CLASS =
HtmlGrid::Value
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) address(model)



102
103
104
# File 'src/view/companies/company.rb', line 102

def address(model)
  Address.new(model.address(0), @session, self)
end