|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.columnmap
public class columnmap
maps column names from database tables to active-record properties or gateway results
| Constructor Summary | |
|---|---|
init(any datasource, string tablelist, [string prefix=''], [string badchars=''], [string protected=''])
|
|
| Method Summary | |
|---|---|
private any |
convertColumn(string column)
|
any |
getColumnList()
|
any |
getInputMap()
|
struct |
getKeys(any record, string columns)
returns a struct containing the values of table columns from the properties of a record object |
any |
getOutputMap()
|
struct |
getProperties(any record)
returns a struct containing the values of table columns from the properties of a record object |
any |
getPropertyList()
|
string |
input(string property)
|
private any |
makeInputMap()
|
private any |
makeOutputMap()
|
private struct |
mapData(struct map, struct data)
|
struct |
mapInput(struct data)
|
struct |
mapOutput(struct data)
|
struct |
mapQueryToOutput(query query, numeric index)
|
string |
output(string column)
|
private any |
setBadChars(string chars)
|
private any |
strip(string string)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any datasource, string tablelist, [string prefix=''], [string badchars=''], [string protected=''])
datasourcetablelistprefixbadcharsprotected| Method Detail |
|---|
private any convertColumn(string column)
columnpublic any getColumnList()
public any getInputMap()
public struct getKeys(any record, string columns)
recordcolumnspublic any getOutputMap()
public struct getProperties(any record)
recordpublic any getPropertyList()
public string input(string property)
propertyprivate any makeInputMap()
private any makeOutputMap()
private struct mapData(struct map, struct data)
mapdatapublic struct mapInput(struct data)
datapublic struct mapOutput(struct data)
datapublic struct mapQueryToOutput(query query, numeric index)
queryindexpublic string output(string column)
columnprivate any setBadChars(string chars)
charsprivate any strip(string string)
string
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||