Class: KirguduBase::DynamicPages::Property
- Inherits:
-
PageElement
- Object
- Element
- PageElement
- KirguduBase::DynamicPages::Property
- Defined in:
- app/models/kirgudu_base/dynamic_pages/property.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data_source ⇒ Object
Returns the value of attribute data_source.
-
#description ⇒ Object
Returns the value of attribute description.
-
#format ⇒ Object
Returns the value of attribute format.
-
#help ⇒ Object
Returns the value of attribute help.
-
#label ⇒ Object
Returns the value of attribute label.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#placeholder ⇒ Object
Returns the value of attribute placeholder.
-
#text_value_property ⇒ Object
Returns the value of attribute text_value_property.
-
#tooltip ⇒ Object
Returns the value of attribute tooltip.
Attributes inherited from PageElement
#enabled, #html_options, #id, #name, #use_i18n, #visible
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Property
constructor
A new instance of Property.
- #to_external_hash(options = {}) ⇒ Object
Methods inherited from PageElement
Methods inherited from Element
#as_json, #fix_parent_entry, #kontroller_klass
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 = {}) ⇒ Property
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 8 def initialize( = {}) self.label = nil self.data_source = nil self.text_value_property = nil self.tooltip = nil self.format = nil self.parent = nil self.help = nil self.description = nil self.placeholder = nil super() end |
Instance Attribute Details
#data_source ⇒ Object
Returns the value of attribute data_source.
27 28 29 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 27 def data_source @data_source end |
#description ⇒ Object
Returns the value of attribute description.
33 34 35 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 33 def description @description end |
#format ⇒ Object
Returns the value of attribute format.
30 31 32 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 30 def format @format end |
#help ⇒ Object
Returns the value of attribute help.
32 33 34 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 32 def help @help end |
#label ⇒ Object
Returns the value of attribute label.
24 25 26 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 24 def label @label end |
#parent ⇒ Object
Returns the value of attribute parent.
31 32 33 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 31 def parent @parent end |
#placeholder ⇒ Object
Returns the value of attribute placeholder.
26 27 28 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 26 def placeholder @placeholder end |
#text_value_property ⇒ Object
Returns the value of attribute text_value_property.
28 29 30 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 28 def text_value_property @text_value_property end |
#tooltip ⇒ Object
Returns the value of attribute tooltip.
29 30 31 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 29 def tooltip @tooltip end |
Instance Method Details
#to_external_hash(options = {}) ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'app/models/kirgudu_base/dynamic_pages/property.rb', line 37 def to_external_hash( = {}) ||= {} .merge!({ }) super() end |