Class: ODDB::View::User::RegisterDownloadComposite

Inherits:
HtmlGrid::Composite show all
Includes:
DataDeclaration, PayPal::InvoiceMethods
Defined in:
src/view/user/register_download.rb

Constant Summary

COMPONENTS =
{
  [0,0]   => SelectSearchForm,
  [0,1,0] =>  "register_download",
  [0,1,1] =>  'dash_separator',
  [0,1,2] =>  :data_declaration,
  [0,2] =>  "register_download_descr",
  [0,3] =>  :register_download_form,
  [1,3] =>  :invoice_items,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'right',
  [0,1,2] =>  'th',
  [0,2] =>  'list',
}
COLSPAN_MAP =
{
  [0,0] => 2,
  [0,1] => 2,
  [0,2] => 2,
}
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods included from DataDeclaration

#data_declaration

Methods included from PayPal::InvoiceMethods

#invoice_items

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) register_download_form(model)



102
103
104
105
106
107
# File 'src/view/user/register_download.rb', line 102

def register_download_form(model)
  if(@session.logged_in?)
    model = @session.user
  end
  RegisterDownloadForm.new(model, @session, self)
end