1 | <?php |
||
4 | class CMSEditLinkAPI extends Object |
||
|
|||
5 | { |
||
6 | |||
7 | private static $_cache = array(); |
||
8 | |||
9 | /** |
||
10 | * common usage ... |
||
11 | * |
||
12 | * public function CMSEditLink($action = null) |
||
13 | * { |
||
14 | * return CMSEditLinkAPI::find_edit_link_for_object($this, $action); |
||
15 | * }; |
||
16 | * |
||
17 | * @param DataObject | string $objectOrClassName |
||
18 | * @param string $action |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | public static function find_edit_link_for_object($objectOrClassName, $action = null) |
||
66 | |||
67 | |||
68 | } |
||
69 |
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.