1 | <?php |
||
8 | class FooGallery_Pro_Video_Base { |
||
|
|||
9 | |||
10 | protected function error_response($message = "Unknown Error", $title = "An Error Occurred") { |
||
17 | |||
18 | protected function get_json($url) { |
||
32 | |||
33 | protected function is_error($response) { |
||
36 | |||
37 | protected function url_exists($url){ |
||
41 | |||
42 | protected function get_mime_type($url){ |
||
52 | } |
||
53 | } |
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.