Tutorial by Examples

<cffunction name="getUserById" access="public" returntype="query"> <cfargument name="userId" type="numeric" required="yes" hint="The ID of the user"> <cfquery name="local.qryGetUser" datasource...
Function Calls <!--- Load the user object based on the component path. ---> <cfset local.user = new com.User() /> <cfset local.allUsers = user.getAllUsers()> <cfset local.specificUser = user.getUserIdFromQry(qry = local.allUsers, userId = 1)> User.cfc <cfcompone...

Page 1 of 1