Top Level Namespace
Defined Under Namespace
Classes: ApplicationController, Array, HAccordionMenu, HCheckBoxTag, HConfiguration, HDB, HDBActionButtons, HDBComboBox, HDBDialogView, HDBFilterView, HDBGenerator, HDBI, HDBTableView, HDBView, HDataLoader, HDecoratorFunctions, HDir, HDivTag, HDropDown, HField, HFieldTable, HFormField, HGroupTag, HHiddenInputTag, HHotLogger, HIO, HInit, HInputTag, HInputValidator, HLabelTag, HLogger, HMainView, HMalloc, HModuleLoader, HMySql, HMySql2, HNode, HODB, HPagination, HPgSql, HPgSqlDatabaseManager, HRadioButtonTag, HRecord, HRecordPtr, HSelectTag, HSessionData, HSharedData, HSpreadFieldTable, HSqlDatabaseManager, HSqlTable, HTabView, HTableView, HTextAreaTag, HTopNav, HTranslate, HUserManager, HViewLoader, HWidget, Hash, String
Constant Summary
collapse
- ESCAPED_CHARS =
{
'>' => '\u003e',
'<' => '\u003c',
'&' => '\u0026',
"\u2028" => '\u2028',
"\u2029" => '\u2029',
}
- ESCAPE_REGEX_WITH_HTML_ENTITIES =
/[\u2028\u2029><&]/u
Instance Method Summary
collapse
Instance Method Details
#hc ⇒ Object
35
36
37
38
39
|
# File 'lib/hengine/hconfiguration.rb', line 35
def hc()
return HConfiguration.instance()
end
|
#hdb(connectionName = "default") ⇒ Object
352
353
354
355
356
|
# File 'lib/hdb/hdb.rb', line 352
def hdb(connectionName = "default")
return HDB.HDB(connectionName)
end
|
#hl ⇒ Object
115
116
117
118
119
|
# File 'lib/hengine/hlogger.rb', line 115
def hl
return hlogger
end
|
#hlogger ⇒ Object
109
110
111
112
113
|
# File 'lib/hengine/hlogger.rb', line 109
def hlogger
return hsd.value("hlogger")
end
|
#hm ⇒ Object
261
262
263
264
265
|
# File 'lib/hengine/hmalloc.rb', line 261
def hm()
return HMalloc.instance()
end
|
#hsd ⇒ Object
56
57
58
59
60
|
# File 'lib/hengine/hshareddata.rb', line 56
def hsd()
return HSharedData.instance()
end
|
#hsession ⇒ Object
75
76
77
78
79
|
# File 'lib/hengine/hsessiondata.rb', line 75
def hsession()
return HSessionData.instance()
end
|
#ht(word) ⇒ Object
35
36
37
38
39
|
# File 'lib/hengine/htranslate.rb', line 35
def ht(word)
return HTranslate.instance().tr(word)
end
|
#htag(name, properties) ⇒ Object
411
412
413
414
415
|
# File 'lib/hwidgets/hwidget.rb', line 411
def htag(name, properties)
return HWidget.new(name).set(properties).html()
end
|
#htag2(name, properties) ⇒ Object
417
418
419
420
421
|
# File 'lib/hwidgets/hwidget.rb', line 417
def htag2(name, properties)
return HWidget.new(name).set(properties).setClosedTag(false).html()
end
|
#hv ⇒ Object
94
95
96
97
98
|
# File 'lib/hengine/hviewloader.rb', line 94
def hv()
return HViewLoader.instance()
end
|
#puta(array, margin: 0) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/hmisc/hio.rb', line 6
def puta(array, margin: 0)
array.each do |value|
puts " " * margin + "#{value}".green if value.class != Hash and value.class != Array
puth(value, margin: margin + 3) if value.class == Hash
end
end
|
#puth(hash, margin: 0) ⇒ Object
13
14
15
16
17
18
19
|
# File 'lib/hmisc/hio.rb', line 13
def puth(hash, margin: 0)
hash.each do |key, value|
puts " " * margin + "#{key}:".hight_cyan
puts " " * (margin + 3) + "#{value}".hight_cyan if value.class != Hash and value.class != Array
puta(value, margin: margin + 3) if value.class == Array
end
end
|