|
Mura CMS 6.1 | ||||
FRAMES |
railo-context.Componentmura.IniFile
public class IniFile
Constructor Summary | |
---|---|
init(string iniPath)
|
Method Summary | |
---|---|
void |
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=''])
|
void |
setSection(string section)
|
private boolean |
startsWith(string str, string char)
|
Methods inherited from class railo-context.Component |
---|
|
Constructor Detail |
---|
public init(string iniPath)
iniPath
- Mapped Path to an ini file.Method Detail |
---|
public void cleanIni()
public any get([string section], [string entry], [string default])
section
- Section name.entry
- Entry name.default
public struct getSections()
public any set(string section, string entry, [any value=''])
section
- Section name.entry
- Entry name.value
- Property valuepublic void setSection(string section)
section
- Section name.private boolean startsWith(string str, string char)
str
- String to check.char
- Character to check for.
|
Mura CMS 6.1 | ||||
FRAMES |