Rebuild configurable product and calculate options prices
I am developing a module which allows users to print out their product configuration (configurable products). I'm not sure how Magento handles the price calculations for the product attributes when there are no prices configured (price depends on associated simple products). I thought that there might be a method which allows to calculate the prices in dependence of the given attributes?
Functionality should be nearly the same as it is on the "update" method, when a product has been configured and added to the cart. At this point Magento creates a quote item. When a user clicks a configured product within the cart, all values and prices are preselected on the product view page.
Does anybody has an idea where to search for the appropriate methods?