Class: Setting (<Toplevel Module>)

Overview
Module Structure
Class Hierarchy
Constants
Setting::DATE_FORMATS
Setting::TIME_FORMATS
Setting::ENCODINGS
Class Methods
Setting.[] / 1
Setting.[]= / 2
Setting.per_page_options_array
Setting.openid?
Setting.check_cache
Setting.clear_cache
Setting.find_or_default / 1
Instance Methods
Setting#value
Setting#value= / 1
is a submodule of
module: <Toplevel Module>   
inherits from
  Base ( ActiveRecord )
has properties
constant: DATE_FORMATS   
constant: TIME_FORMATS   
constant: ENCODINGS   
method: value   
method: value= / 1   
class method: [] / 1   
class method: []= / 2   
class method: per_page_options_array   
class method: openid?   
class method: check_cache   
class method: clear_cache   
class method: find_or_default / 1   
is defined at
#18 in app/models/setting.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: ActiveRecord
class: Base     
✗ class: Setting

Class Hierarchy

Object ( Builtin-Module )
Base ( ActiveRecord )
has properties
class method: find_ids / 1   
Setting
has properties
constant: DATE_FORMATS   
constant: TIME_FORMATS   
constant: ENCODINGS   
method: value   
method: value= / 1   
class method: [] / 1   
class method: []= / 2   
class method: per_page_options_array   
class method: openid?   
class method: check_cache   
class method: clear_cache   
class method: find_or_default / 1   

Constants

Setting::DATE_FORMATS

#20 in app/models/setting.rb

DATE_FORMATS = [   

Setting::TIME_FORMATS

#32 in app/models/setting.rb

TIME_FORMATS = [   

Setting::ENCODINGS

#37 in app/models/setting.rb

ENCODINGS = %w(US-ASCII windows-1250 windows-1251 windows-1252 windows-1253 windows-1254 windows-1255 windows-1256 windows-1257 windows-1258 windows-31j ISO-2022-JP ISO-2022-KR ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-13 ISO-8859-15 KOI8-R UTF-8 UTF-16 UTF-16BE UTF-16LE EUC-JP Shift_JIS CP932 GB18030 GBK ISCII91 EUC-KR Big5 Big5-HKSCS TIS-620)   

Class Methods

Setting.[] / 1

#106 in app/models/setting.rb

[] ( name )

Setting.[]= / 2

#111 in app/models/setting.rb

[]= ( name ,
  v )

Setting.per_page_options_array

#140 in app/models/setting.rb

per_page_options_array

Setting.openid?

#144 in app/models/setting.rb

openid?

Setting.check_cache

#151 in app/models/setting.rb

check_cache

Setting.clear_cache

#159 in app/models/setting.rb

clear_cache

Setting.find_or_default / 1

#168 in app/models/setting.rb

find_or_default ( name )

Instance Methods

Setting#value

#92 in app/models/setting.rb

value

Setting#value= / 1

#100 in app/models/setting.rb

value= ( v )