Class: MenuItem (Redmine::MenuManager)

Overview
Module Structure
Class Hierarchy
Instance Attributes
MenuItem#name [R]
MenuItem#url [R]
MenuItem#param [R]
MenuItem#condition [R]
MenuItem#parent [R]
MenuItem#child_menus [R]
MenuItem#last [R]
Instance Methods
MenuItem#initialize / 3
MenuItem#caption / 1
MenuItem#html_options / 1
is a submodule of
module: MenuManager ( Redmine )
includes
  I18n ( Redmine )
inherits from
  MenuNode ( Redmine::MenuManager )
has properties
attribute: name [R]   
attribute: url [R]   
attribute: param [R]   
attribute: condition [R]   
attribute: parent [R]   
attribute: child_menus [R]   
attribute: last [R]   
method: initialize / 3   
method: caption / 1   
method: html_options / 1   
is defined at
#390 in lib/redmine/menu_manager.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: Redmine
  module: I18n
  module: MenuManager
class: MenuNode     
class: MenuItem     

Class Hierarchy

Object ( Builtin-Module )
MenuNode ( Redmine::MenuManager )
includes
  Enumerable ( Builtin-Module )
has properties
attribute: parent [RW]   
attribute: last_items_count [R]   
attribute: name [R]   
method: initialize / 2   
method: children   
method: size   
method: each   
method: prepend / 1   
method: add_at / 2   
method: add_last / 1   
method: add / 1   
alias: << add   
method: remove! / 1   
method: position   
method: root   
MenuItem ( Redmine::MenuManager )
includes
  I18n ( Redmine )
has properties
attribute: name [R]   
attribute: url [R]   
attribute: param [R]   
attribute: condition [R]   
attribute: parent [R]   
attribute: child_menus [R]   
attribute: last [R]   
method: initialize / 3   
method: caption / 1   
method: html_options / 1   

Instance Attributes

MenuItem#name [R]

#392 in lib/redmine/menu_manager.rb

MenuItem#url [R]

#392 in lib/redmine/menu_manager.rb

MenuItem#param [R]

#392 in lib/redmine/menu_manager.rb

MenuItem#condition [R]

#392 in lib/redmine/menu_manager.rb

MenuItem#parent [R]

#392 in lib/redmine/menu_manager.rb

MenuItem#child_menus [R]

#392 in lib/redmine/menu_manager.rb

MenuItem#last [R]

#392 in lib/redmine/menu_manager.rb

Instance Methods

MenuItem#initialize / 3

#394 in lib/redmine/menu_manager.rb

initialize ( name ,
  url ,
  options )

MenuItem#caption / 1

#413 in lib/redmine/menu_manager.rb

caption ( project=nil )

MenuItem#html_options / 1

#427 in lib/redmine/menu_manager.rb

html_options ( options={} )