Class: KirguduBase::DynamicPages::PageTab
- Inherits:
-
PageElement
- Object
- Element
- PageElement
- KirguduBase::DynamicPages::PageTab
- Defined in:
- app/models/kirgudu_base/dynamic_pages/page_tab.rb
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#is_active ⇒ Object
Returns the value of attribute is_active.
-
#label ⇒ Object
Returns the value of attribute label.
-
#lazy_select ⇒ Object
Returns the value of attribute lazy_select.
Attributes inherited from PageElement
#enabled, #html_options, #id, #name, #use_i18n, #visible
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ PageTab
constructor
A new instance of PageTab.
Methods inherited from PageElement
#i18n_data_as_string, #to_external_hash
Methods inherited from Element
#as_json, #fix_parent_entry, #kontroller_klass, #to_external_hash
Methods included from Models::MergeableElements::ClassMethods
#get_mergeable_attributes, #mergeable_attributes
Methods included from Models::FixableElements::ClassMethods
#fixable_attributes, #get_kb_fixable_attributes
Methods included from Models::FixableElements::InstanceMethods
Methods included from Models::MergeableElements::InstanceMethods
Constructor Details
#initialize(options = {}) ⇒ PageTab
Returns a new instance of PageTab.
13 14 15 16 17 18 19 20 21 |
# File 'app/models/kirgudu_base/dynamic_pages/page_tab.rb', line 13 def initialize( = {}) self.label = nil self.is_active = :false self.lazy_select = :false self.elements = nil super() end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements.
26 27 28 |
# File 'app/models/kirgudu_base/dynamic_pages/page_tab.rb', line 26 def elements @elements end |
#is_active ⇒ Object
Returns the value of attribute is_active.
24 25 26 |
# File 'app/models/kirgudu_base/dynamic_pages/page_tab.rb', line 24 def is_active @is_active end |
#label ⇒ Object
Returns the value of attribute label.
23 24 25 |
# File 'app/models/kirgudu_base/dynamic_pages/page_tab.rb', line 23 def label @label end |
#lazy_select ⇒ Object
Returns the value of attribute lazy_select.
25 26 27 |
# File 'app/models/kirgudu_base/dynamic_pages/page_tab.rb', line 25 def lazy_select @lazy_select end |