Actually, I guess there is an isObject() method (which I could have sworn
wasn't in the docs when I looked last night :) ) which I could use.

On Sun, Jun 27, 2010 at 5:30 AM, Scott Brady <dsbr...@gmail.com> wrote:

> We actually have a dump() method in our base component, but that has caused
> us problems in our onError method. (which I think I just figured out).
>
> Maybe the real question is ... if I have a variable name, how do I
> determine if it's a CFC?  Or, more accurately, is there a way that, given a
> variable name, to determine what type of object it is?
>
> Scott
>
>
> On Sun, Jun 27, 2010 at 12:05 AM, Brad Wood <b...@bradwood.com> wrote:
>
>>
>> I usually include a dump method in my CFC's that simply cfdumps out
>> whatever
>> internals you want to see and cfaborts.
>>
>> If all your CFCs extend a single base component, this is even easier since
>> you can put the method there.
>>
>> ~Brad
>>
>> --
> -----------------------------------------
> Scott Brady
> http://www.scottbrady.net/
>



-- 
-----------------------------------------
Scott Brady
http://www.scottbrady.net/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334875
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to