Sure, np:
<cffunction name="set$${name}" access="public" returntype="void" output="false">
<cfargument name="$${argument name}" type="$${type}"
required="$${required:true|false}">
<cfset variables.$${argument name} = arguments.$${argument name} >
</cffunction>
<cffunction name="get$${name}" access="public" returntype="$${type}"
output="false">
<cfreturn variables.$${argument name} />
</cffunction>
J
On Feb 25, 2010, at 9:19 AM 2/25/10, Nando . wrote:
> Jared,
>
> Would you mind posting that snippet?
>
> Nando
>
> On Thu, Feb 25, 2010 at 3:29 PM, Jared Rypka-Hauer <[email protected]>
> wrote:
> Heh, thanks!
>
> Yeah, for my snippet I type gs-ctrl-j, the stem of the methods (i.e. the name
> without the get/set part), the output attribute (which defaults to false) and
> the type (string, query, etc). I hit enter and I have a get/set pair all
> done. w00t! ...
--
You received this message because you are subscribed to the Google Groups
"CFCDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cfcdev?hl=en.