Guest User

Untitled

a guest
Dec 8th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfscript> //only here for syntax highlighting
  2. for(i; i lte arrayLen(objFunctions); i = i +1){
  3.  
  4. if(objFunctions[i].access eq "public" AND
  5.    LEFT(objFunctions[i].name,3) eq "get" AND
  6.    listFindNoCase("#variables.dataTypesToReturn#",objFunctions[i].returnType) neq 0){
  7.    
  8.     fnProperties = {name = objFunctions[i].name,
  9.                     value=getValueFromFunction(variables.theObject,objFunctions[i].name),
  10.                     propertyName = getPropertyName(objFunctions[i].name)};
  11.  
  12.     arrayAppend(variables.functions,fnProperties);
  13. }
  14. </cfscript>
Add Comment
Please, Sign In to add comment