| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function AbsoluteLink($IDString = "FlowPlayer") |
||
| 30 | { |
||
| 31 | Requirements::javascript("flowplayer/thirdparty/flowplayer-3.2.4.min.js"); |
||
| 32 | Requirements::javascript(self::get_flow_player_config_file()); |
||
| 33 | Requirements::customScript('$f("'.$IDString.'", "'.self::get_swf_file().'", FlowPlayerConfig);', "FlowPlayerSWF"); |
||
| 34 | Requirements::themedCSS("FlowPlayer"); |
||
| 35 | return $this->getAbsoluteURL(); |
||
| 36 | } |
||
| 37 | } |
||
| 38 |
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.