1 | <?php |
||
3 | class LimeSoda_LiveGuard_Model_Config |
||
|
|||
4 | { |
||
5 | const XML_PATH = 'global/limesoda/guards'; |
||
6 | |||
7 | protected $_config = null; |
||
8 | |||
9 | protected $_guards = null; |
||
10 | |||
11 | /** |
||
12 | * Returns whether the configuration node exists. |
||
13 | * |
||
14 | * @return bool |
||
15 | */ |
||
16 | public function configExists() |
||
20 | |||
21 | /** |
||
22 | * Returns the configuration XML. |
||
23 | * |
||
24 | * @return Mage_Core_Model_Config_Element|false |
||
25 | */ |
||
26 | public function getConfig() |
||
33 | |||
34 | /** |
||
35 | * Returns the guards. |
||
36 | * |
||
37 | * @return Array an array of guards |
||
38 | */ |
||
39 | public function getGuards() |
||
69 | |||
70 | } |
||
71 |
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.