Class: ODDB::View::Companies::CompanyComposite

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

Direct Known Subclasses

AjaxCompanyComposite, PowerLinkCompanyComposite, UserCompanyComposite

Constant Summary

CSS_CLASS =
'composite'
SYMBOL_MAP =
{
  :nbsp =>  HtmlGrid::Text,
  :inactive_text => HtmlGrid::LabelText,
  :inactive_packages_label => HtmlGrid::LabelText,
  :users         => HtmlGrid::LabelText,
}
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) inactive_packages(model, session = @session)



453
454
455
# File 'src/view/companies/company.rb', line 453

def inactive_packages(model, session=@session)
  InactivePackages.new(model.inactive_packages, @session, self)
end

- (Object) inactive_registrations(model, session = @session)



456
457
458
# File 'src/view/companies/company.rb', line 456

def inactive_registrations(model, session=@session)
  InactiveRegistrations.new(model.inactive_registrations, session, self)
end