WEB-INF.cftags.componentmura.IniFile
This provides a utility to read ini files
Constructor Summary | |
---|---|
init(string iniPath)
|
Method Summary | |
---|---|
any
|
cleanIni()
|
any
|
get([string section], [string entry], [string default])
Get all INI data (no arguments); a section's data, as a struct (one argument, section name); or an entry's value (section and entry name arguments). |
struct
|
getSections()
Returns a struct with section names and values set to list of section entry names. |
any
|
set(string section, string entry, [any value=''])
|
any
|
setSection(string section)
|
private boolean
|
startsWith(string str, string char)
|
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
iniPath
- Mapped Path to an ini file.Method Detail |
---|
Get all INI data (no arguments); a section's data, as a struct (one argument, section name); or an entry's value (section and entry name arguments). Optionally pass a third argument to set/get a default value if requested entry doesn't exist.
section
- Section name.entry
- Entry name.default
Returns a struct with section names and values set to list of section entry names. This behaves much like the CF built-in function getProfileSections().
section
- Section name.entry
- Entry name.value
- Property valuesection
- Section name.str
- String to check.char
- Character to check for.