|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.util.BaseDictionary
public class BaseDictionary
This is a base lookup dictionary
Constructor Summary | |
---|---|
init([string name='BaseDictionary'], [struct dictionary='[runtime expression]'])
Constructor |
Method Summary | |
---|---|
void |
clearAll()
Clear all the keys |
boolean |
clearKey(string key)
Clear a key from the dictionary |
struct |
getDictionary()
Get Dictionary |
any |
getKey(string key)
Get a dictionary key, else return a blank |
string |
getname()
Get dictionary name |
boolean |
keyExists(string key)
Check if a key exists |
void |
setDictionary(struct Dictionary)
Set Dictionary |
void |
setKey(string key, any value)
Set a new key in the dictionary |
void |
setname(string name)
Set dictionary name |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init([string name='BaseDictionary'], [struct dictionary='[runtime expression]'])
Method Detail |
---|
public void clearAll()
public boolean clearKey(string key)
key
- The key to removepublic struct getDictionary()
public any getKey(string key)
key
- The key to returnpublic string getname()
public boolean keyExists(string key)
key
- The key to returnpublic void setDictionary(struct Dictionary)
Dictionary
public void setKey(string key, any value)
key
- The key to returnvalue
- The value of the keypublic void setname(string name)
name
|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |