1 | <?php |
||
5 | class EmailAFriendExtension_Controller extends Extension |
||
|
|||
6 | { |
||
7 | private static $allowed_actions = array('EmailAFriendForm', 'emailafriend'); |
||
8 | |||
9 | protected $emailAFriendShowForm = false; |
||
10 | |||
11 | /** |
||
12 | * @return EmailAFriendForm |
||
13 | */ |
||
14 | public function EmailAFriendForm() |
||
18 | |||
19 | public function emailafriend($request) |
||
28 | |||
29 | public function EmailAFriendShowForm() |
||
33 | |||
34 | /** |
||
35 | * @return String |
||
36 | */ |
||
37 | public function EmailAFriendLink() |
||
43 | protected $emailAFriendThankYouContent = ""; |
||
44 | |||
45 | public function setEmailAFriendThankYouContent($v) |
||
49 | |||
50 | public function EmailAFriendThankYouContent() |
||
54 | } |
||
55 |
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.