Class: KirguduBase::DynamicPages::PageTab

Inherits:
PageElement show all
Defined in:
app/models/kirgudu_base/dynamic_pages/page_tab.rb

Instance Attribute Summary collapse

Attributes inherited from PageElement

#enabled, #html_options, #id, #name, #use_i18n, #visible

Attributes inherited from Element

#parent_entry

Instance Method Summary collapse

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

#fix_parent_entry

Methods included from Models::MergeableElements::InstanceMethods

#merge

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(options = {})

	self.label = nil
	self.is_active = :false
	self.lazy_select = :false
	self.elements = nil

	super(options)
end

Instance Attribute Details

#elementsObject

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_activeObject

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

#labelObject

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_selectObject

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