This is the code for the getter and setter involved:

<cffunction name="setTransDate" access="public" returntype="void"
output="false">
<cfargument name="TransDate" type="string" required="true" />
<cfif isDate(arguments.TransDate)>
<cfset arguments.TransDate = dateformat(arguments.TransDate,"DD/MM/YYYY") />
</cfif>
<cfset variables.instance.TransDate = arguments.TransDate />
</cffunction>
<cffunction name="getTransDate" access="public" returntype="string"
output="false">
<cfreturn variables.instance.TransDate />
</cffunction>

This is generated by the Rooibos code written by P Farrell



On Wed, Jun 9, 2010 at 2:07 PM, Sean Corfield <seancorfi...@gmail.com>wrote:

> What do the methods setTransDate() and getTransDate() look like? Is
> there a declared property behind them? If so, what does that look
> like?
>
>
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to