Class: Rfm::Layout::SubLayout
- Inherits:
-
Rfm::Layout
- Object
- Rfm::Layout
- Rfm::Layout::SubLayout
- Includes:
- Config, LayoutModule
- Defined in:
- lib/rfm/base.rb
Instance Attribute Summary collapse
-
#model ⇒ Object
Returns the value of attribute model.
-
#parent_layout ⇒ Object
Returns the value of attribute parent_layout.
Attributes inherited from Rfm::Layout
#field_mapping, #field_names, #portal_meta, #subs, #table
Instance Method Summary collapse
-
#initialize(master) ⇒ SubLayout
constructor
A new instance of SubLayout.
Methods included from LayoutModule
#all, #any, #create, #delete, #edit, #expand_repeats, #find, #get_records, #join_repeats, #name, #params, #query, #state, #view
Methods included from Config
#config, #config_clear, #get_config, #sanitize_config
Methods inherited from Rfm::Layout
#count, #date_format, #field_controls, #field_meta, #field_names_no_load, #ignore_bad_data, #load_field_mapping, #main_init, #modelize, #models, #portal_meta_no_load, #portal_names, #sublayout, #table_no_load, #time_format, #timestamp_format, #total_count, #value_lists, #view_meta
Constructor Details
#initialize(master) ⇒ SubLayout
Returns a new instance of SubLayout.
51 52 53 54 |
# File 'lib/rfm/base.rb', line 51 def initialize(master) super(master) self.parent_layout = master end |