>So how do I create a getter to get an entire member if my current get
>function doesn't do it? Say I want to populate an update member form?

Ideally you populate each form field with individual getMethods
#member.getfname()#
#member.getlname()#
etc....

If you want a hack to return it in a structure, you would use something
like this

             <cffunction name="getAllAttributes" access="public"
output="false" returntype="struct">
                         <cfreturn variables />
             </cffunction>

Then in your application
myMember=createObject("Component","memberObject").init(arguments.aid)
<cfset myMemberAttributes=myMember.getAllAttributes()>

Jason Cronk
[EMAIL PROTECTED]




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how to get a fax number that sends and receives faxes using your 
current email address
http://www.houseoffusion.com/banners/view.cfm?bannerid=64

Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6745
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to