Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfscript> //only here for syntax highlighting
- for(i; i lte arrayLen(objFunctions); i = i +1){
- if(objFunctions[i].access eq "public" AND
- LEFT(objFunctions[i].name,3) eq "get" AND
- listFindNoCase("#variables.dataTypesToReturn#",objFunctions[i].returnType) neq 0){
- fnProperties = {name = objFunctions[i].name,
- value=getValueFromFunction(variables.theObject,objFunctions[i].name),
- propertyName = getPropertyName(objFunctions[i].name)};
- arrayAppend(variables.functions,fnProperties);
- }
- </cfscript>
Add Comment
Please, Sign In to add comment