Class: ODDB::View::NavigationLink

Inherits:
HtmlGrid::Link
  • Object
show all
Defined in:
src/view/navigationlink.rb

Direct Known Subclasses

CenteredNavigationLink

Constant Summary

CSS_CLASS =
"navigation"

Instance Method Summary (collapse)

Instance Method Details

- (Object) init



10
11
12
13
14
15
# File 'src/view/navigationlink.rb', line 10

def init
  super
  unless(@lookandfeel.direct_event == @name)
    @attributes.store("href", @lookandfeel._event_url(@name))
  end
end

- (Object) to_html(context)



16
17
18
# File 'src/view/navigationlink.rb', line 16

def to_html(context)
  super
end