Find the class with a specific class const
<p>I've got a number of product classes which extend a parent product class. Each of these implements its own version of a PRODUCT_ID const. A method in a customer object will pull the PRODUCT_ID 's from the DB. I'd then like to instanciate the relevant product object and add it to an array.</p>

<p>Any ideas how I can dynamically find out which product object has the specific PRODUCT_ID const?</p>

<p>Sorry if that is a bit confusing!</p>
