| 1 | <?php |
||
| 4 | class AnyPriceProductPage_ProductVariation extends ProductVariation |
||
|
|
|||
| 5 | { |
||
| 6 | private static $db =array( |
||
| 7 | "Description" => "Varchar(200)" |
||
| 8 | ); |
||
| 9 | |||
| 10 | /** |
||
| 11 | * |
||
| 12 | * @var String |
||
| 13 | */ |
||
| 14 | protected $defaultClassNameForOrderItem = "AnyPriceProductPage_ProductVariationOrderItem"; |
||
| 15 | |||
| 16 | public function canPurchase(Member $member = null, $checkPrice = true) |
||
| 20 | |||
| 21 | public function TableSubTitle() |
||
| 25 | |||
| 26 | public function getTableSubTitle() |
||
| 30 | } |
||
| 31 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.