Class: ODDB::View::GoogleAdSenseComposite

Inherits:
HtmlGrid::Composite show all
Includes:
GoogleAdSenseMethods
Defined in:
src/view/google_ad_sense.rb

Direct Known Subclasses

Analysis::GoogleAdSenseComposite, Companies::GoogleAdSenseComposite, Doctors::GoogleAdSenseComposite, Drugs::GoogleAdSenseComposite, Hospitals::GoogleAdSenseComposite, Interactions::GoogleAdSenseComposite, Migel::GoogleAdSenseComposite, User::GoogleAdSenseComposite

Constant Summary

COMPONENTS =
{
  [0,0] =>  :ad_sense,
  [1,0] =>  :content,
  [2,0] =>  :ad_sense,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [2,0] =>  'right',
}
GOOGLE_CHANNEL =
''
GOOGLE_FORMAT =
'250x250_as'
GOOGLE_WIDTH =
'250'
GOOGLE_HEIGHT =
'250'

Instance Method Summary (collapse)

Methods included from GoogleAdSenseMethods

#active_sponsor?, #ad_sense

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) content(model, session)



69
70
71
# File 'src/view/google_ad_sense.rb', line 69

def content(model, session)
  self::class::CONTENT.new(model, @session, self)
end