> Just to be difficult,
You mean like this:
<cfcomponent displayname="spy" output="false">
<cffunction name="init" access="public" output="false">
<cfargument name="obj" type="any" required="true" />
<cfset obj.leak = variables.leak />
<cfset this.tradeSecrets = obj.leak() />
<cfset structDelete(obj,"leak") />
</cffunction>
<cffunction name="leak" access="private" output="false">
<cfreturn variables />
</cffunction>
</cfcomponent>
<cfset spy = CreateObject("component","spy").init(obj) />
<cfdump var="#spy.tradeSecrets#" />
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 617.365.5732
http://onTap.riaforge.org/blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308007
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4