1 | <?php |
||
9 | class BaseElement_Controller extends WidgetController |
||
|
|||
10 | { |
||
11 | /** |
||
12 | * Returns the current widget in scope rendered into its' holder |
||
13 | * |
||
14 | * @return HTML |
||
15 | */ |
||
16 | public function WidgetHolder() |
||
20 | |||
21 | |||
22 | public function Link($action = null) |
||
32 | |||
33 | |||
34 | /** |
||
35 | * if this is a virtual request, change the hash if set. |
||
36 | */ |
||
37 | public function redirect($url, $code=302) { |
||
48 | } |
||
49 |
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.