Class: KirguduBase::DynamicPages::Page
- Defined in:
- app/models/kirgudu_base/dynamic_pages/page.rb
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#entries ⇒ Object
Returns the value of attribute entries.
-
#forms ⇒ Object
Returns the value of attribute forms.
-
#kontroller_klass ⇒ Object
Returns the value of attribute kontroller_klass.
-
#lists ⇒ Object
Returns the value of attribute lists.
-
#managements ⇒ Object
Returns the value of attribute managements.
-
#menus ⇒ Object
Returns the value of attribute menus.
-
#name ⇒ Object
Returns the value of attribute name.
-
#sortings ⇒ Object
Returns the value of attribute sortings.
-
#tabs ⇒ Object
Returns the value of attribute tabs.
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Page
constructor
A new instance of Page.
Methods inherited from Element
#as_json, #fix_parent_entry, #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 = {}) ⇒ Page
Returns a new instance of Page.
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 13 def initialize( = {}) self.name = nil self.forms = nil self.lists = nil self.entries = nil self. = nil self.elements = nil self.sortings = nil self.managements = nil super() end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements.
34 35 36 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 34 def elements @elements end |
#entries ⇒ Object
Returns the value of attribute entries.
31 32 33 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 31 def entries @entries end |
#forms ⇒ Object
Returns the value of attribute forms.
29 30 31 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 29 def forms @forms end |
#kontroller_klass ⇒ Object
Returns the value of attribute kontroller_klass.
38 39 40 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 38 def kontroller_klass @kontroller_klass end |
#lists ⇒ Object
Returns the value of attribute lists.
30 31 32 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 30 def lists @lists end |
#managements ⇒ Object
Returns the value of attribute managements.
35 36 37 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 35 def managements @managements end |
#menus ⇒ Object
Returns the value of attribute menus.
33 34 35 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 33 def @menus end |
#name ⇒ Object
Returns the value of attribute name.
28 29 30 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 28 def name @name end |
#sortings ⇒ Object
Returns the value of attribute sortings.
36 37 38 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 36 def sortings @sortings end |
#tabs ⇒ Object
Returns the value of attribute tabs.
32 33 34 |
# File 'app/models/kirgudu_base/dynamic_pages/page.rb', line 32 def tabs @tabs end |