Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function IncludeTemplateoverviewDevelopmentFooter() |
||
16 | { |
||
17 | if (Director::isDev()) { |
||
18 | Requirements::javascript("templateoverview_advanced/javascript/TemplateoverviewExtension.js"); |
||
19 | Requirements::themedCSS("TemplateoverviewExtension", "templateoverview_advanced"); |
||
20 | return true; |
||
21 | } |
||
22 | return false; |
||
23 | } |
||
24 | |||
76 |
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.