The name of the type. In fact, whenever cfargument or returnType equals an unknown value, cf assumes you mean an instance of a cfc.
======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dawson, Michael > Sent: Wednesday, August 20, 2003 12:00 PM > To: [EMAIL PROTECTED] > Subject: [CFCDev] Method Argument Types for Instances > > > When I pass a reference to an instance to a method, what is > the correct cfargument type I should use? > > Here is an example in which all of the types are the same > names as my actual components. > > <cfargument name="UserName" type="string" required="Yes"> > <cfargument name="objADService" type="ActiveDirectoryService" > required="Yes"> <cfargument name="objUserService" > type="UserService" required="Yes"> <cfargument > name="objCourseService" type="CourseService" required="Yes"> > > This code works, but is it the "correct" way? > > With instance references, is the type attribute even verified? > > M!chael A. Dawson > Group Manager, Programming and Software Development > Office of Technology Services > University of Evansville > 1800 Lincoln Avenue > Evansville, IN 47722 > 812-479-2581 > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
