Code: Select all
class ModelCatalogProductGrid extends Model {
float getPrice( ... ) {}
Code: Select all
class ModelCatalogProductVolantini extends ModelCatalogProductGrid {
float getPrice( ... ) {}
Fatal error: Class 'ModelCatalogProductGrid' not found in C:\www\ic-stampa\catalog\model\catalog\product_bigliettidavisita.php on line 2
Why it doesn't find it? How can i implement these kind of models and then use a Factory Design Pattern to instantiate the correct model?
thanks.