Question
CFC question
How do I call a function from another function in the same
CFC?
For example, let's say that I have a CFC called: cart.cfc
One of the functions in the cfc is: getCartSubTotal, which takes one argument - the cart ID
Now in the same cart.cfc, I want to have a function called getShipping.
I'm thinking I should be able to pass it the same cart ID and have it get the cart sub total from the function getCartSubTotal. But how do I call that other function from the new function?
For example, let's say that I have a CFC called: cart.cfc
One of the functions in the cfc is: getCartSubTotal, which takes one argument - the cart ID
Now in the same cart.cfc, I want to have a function called getShipping.
I'm thinking I should be able to pass it the same cart ID and have it get the cart sub total from the function getCartSubTotal. But how do I call that other function from the new function?
