vendor/gems/ziya-2.1.7/lib/ziya/maps/base.rb
def load_lnf     
      unless @partial
        ancestors.each do |super_class|   
          # Load class instance prefs                
          if ( super_class == self.class )
            o = inflate( super_class, theme )
            setup_state( o ) unless o.nil? 
            # Now load instance prefs if any
            unless id.nil?
              o = inflate( super_class, theme, id )
              setup_state( o ) unless o.nil?        
            end
          # Otherwise load parent prefs...
          else
            o = inflate( super_class, theme, nil )
            setup_state( o ) unless o.nil?
          end
        end      
      end
      # Additional styles specified ? if so load them
      unless @options[:styles].nil?
        o = YAML::load( erb_render( @options[:styles] ) )
        setup_state( o ) unless o.nil?
      end
    end
# load up look and feel data
load up look and feel data
load up look and feel data
def load_lnf     
      unless @partial
        ancestors.each do |super_class|   
          if ( super_class == self.class )
            o = inflate( super_class, theme )
            setup_state( o ) unless o.nil? 
            unless id.nil?
              o = inflate( super_class, theme, id )
              setup_state( o ) unless o.nil?        
            end
          else
            o = inflate( super_class, theme, nil )
            setup_state( o ) unless o.nil?
          end
        end      
      end
      unless @options[:styles].nil?
        o = YAML::load( erb_render( @options[:styles] ) )
        setup_state( o ) unless o.nil?
      end
    end
def load_lnf unless @partial ancestors . each do | super_class | if ( super_class == self . class ) o = inflate ( super_class , theme ) setup_state ( o ) unless o . nil? unless id . nil? o = inflate ( super_class , theme , id ) setup_state ( o ) unless o . nil? end else o = inflate ( super_class , theme , nil ) setup_state ( o ) unless o . nil? end end end unless @options [ :styles ] . nil? o = YAML :: load ( erb_render ( @options [ :styles ] ) ) setup_state ( o ) unless o . nil? end end
load up look and feel data
load up look and feel data
# Load class instance prefs                 # Now load instance prefs if any # Otherwise load parent prefs... # Additional styles specified ? if so load them