ColdBox Platform Version 2.6.3

coldbox.system.beans
Class configBean

WEB-INF.cftags.component
        extended by coldbox.system.beans.configBean

public class configBean
extends WEB-INF.cftags.component

I hold a coldbox configuration file data.


Constructor Summary
init([struct configStruct='[runtime expression]'])
          constructor
 
Method Summary
 any getConfigStruct()
          Get the memento of name-value pairs
 any getKey(string key, [any defaultValue='_NONE_'])
 any keyExists(string key)
          Check if a key is in the structure.
 void setKey(string key, any value)
          Set a new value in the structure
 void setconfigStruct(struct configStruct)
          Override the name-value pairs memento
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init([struct configStruct='[runtime expression]'])

Method Detail

getConfigStruct

public any getConfigStruct()
Get the memento of name-value pairs


getKey

public any getKey(string key, [any defaultValue='_NONE_'])

Parameters:
key - The named key to return.
defaultValue - A default value to return

keyExists

public any keyExists(string key)
Check if a key is in the structure.

Parameters:
key

setKey

public void setKey(string key, any value)
Set a new value in the structure

Parameters:
key
value

setconfigStruct

public void setconfigStruct(struct configStruct)
Override the name-value pairs memento

Parameters:
configStruct

ColdBox Platform Version 2.6.3