| 1 | <?php |
||
| 4 | class EcommerceSecurityIP extends EcommerceSecurityBaseClass |
||
|
|
|||
| 5 | { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * standard SS variable |
||
| 9 | * @Var String |
||
| 10 | */ |
||
| 11 | private static $singular_name = "Blacklisted IP Address"; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * standard SS variable |
||
| 15 | * @Var String |
||
| 16 | */ |
||
| 17 | private static $plural_name = "Blacklisted IP Addresses"; |
||
| 18 | |||
| 19 | |||
| 20 | private static $field_labels = array( |
||
| 21 | 'Title' => 'IP' |
||
| 22 | ); |
||
| 23 | } |
||
| 24 |
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.