If I have a CFC with 4 methods, but one of the methods needs to call another
method how do I do it?

CFC (cut down for simplicity):

<cfcomponent>
        <cffunction name="isA">
                ... Do something ...
                <cfreturn true>
        </cffunction>
        <cffunction name="isB">
                ... Do something ...
                <cfreturn true>
        </cffunction>
        <cffunction name="isC">
                
                <cfif NOT isA>
                        <cfreturn false>
                </cfif>

                ... Do something ...
                <cfreturn true>
        </cffunction>
        <cffunction name="isD">
                ... Do something ...
                <cfreturn true>
        </cffunction>
</cfcomponent>

Paul
-------------------------------------------
Paul Johnston
PJ Net Solutions Ltd
http://www.pjnetsolutions.com
[EMAIL PROTECTED]
+44 (0)7866 573013




-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to